Issue 117853 - cppu::defautlBootstrap_InitialComponentContext: remove obsolete features
Summary: cppu::defautlBootstrap_InitialComponentContext: remove obsolete features
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: DEV300m106
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Blocks: 117854
  Show dependency tree
Reported: 2011-04-14 15:35 UTC by Stephan Bergmann
Modified: 2017-05-20 11:33 UTC (History)
1 user (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2011-04-14 15:35:17 UTC
The various cppu::defaultBootstrap_InitialComponentContext functions as implemented in cppuhelper/source/bootstrap.cxx have some obsolete features that should be removed:

1  As documented in cppuhelper/bootstrap.hxx, they support an UNO_WRITERDB bootstrap variable.  That variable appears to be unused (grepping DEV300_m106 sources for "WRITERDB" only finds matches in cppuhelper/inc/cppuhelper/bootstrap.hxx, cppuhelper/source/bootstrap.cxx, stoc/test/security/test_security.ini, and stoc/test/security/test_security_singleuser.ini).

2  As an undocumented feature, relative registry URLs are made absolute relative to the process's current working directory file URL.  This feature is hopefully unused (and fragile, anyway).  Only absolute registry URLs should be accepted.

3  As an undocumented feature, if a UNO_SERVICES or UNO_TYPES (or UNO_WRITERDB, but see 1 above) environment variable is not set, an .rdb file "relative to executable" with a special name is used if available (see function findBoostrapArgument [sic] in bootstrap.cxx).  This feature is hopefully unused.
Comment 1 Oliver-Rainer Wittmann 2012-06-13 12:17:35 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 2 Marcus 2017-05-20 11:33:21 UTC
Reset assigne to the default "".