summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppuhelper/source/defaultbootstrap.cxx6
-rw-r--r--stoc/util/bootstrap.component1
2 files changed, 1 insertions, 6 deletions
diff --git a/cppuhelper/source/defaultbootstrap.cxx b/cppuhelper/source/defaultbootstrap.cxx
index 6032acf95ed3..e0ff2d812280 100644
--- a/cppuhelper/source/defaultbootstrap.cxx
+++ b/cppuhelper/source/defaultbootstrap.cxx
@@ -88,12 +88,6 @@ cppu::defaultBootstrap_InitialComponentContext(rtl::OUString const & iniUri)
false));
context_values.push_back( //TODO: from services.rdb?
cppu::ContextEntry_Init(
- "/singletons/com.sun.star.reflection.theTypeDescriptionManager",
- css::uno::makeAny(
- rtl::OUString("com.sun.star.comp.stoc.TypeDescriptionManager")),
- true /*TODO: false?*/));
- context_values.push_back( //TODO: from services.rdb?
- cppu::ContextEntry_Init(
"/singletons/com.sun.star.util.theMacroExpander",
css::uno::makeAny(
cppuhelper::detail::create_bootstrap_macro_expander_factory()),
diff --git a/stoc/util/bootstrap.component b/stoc/util/bootstrap.component
index 5ff3b07ae7ae..d6e9b0c4f03f 100644
--- a/stoc/util/bootstrap.component
+++ b/stoc/util/bootstrap.component
@@ -43,6 +43,7 @@
</implementation>
<implementation name="com.sun.star.comp.stoc.TypeDescriptionManager">
<service name="com.sun.star.reflection.TypeDescriptionManager"/>
+ <singleton name="com.sun.star.reflection.theTypeDescriptionManager"/>
</implementation>
<implementation name="com.sun.star.security.comp.stoc.AccessController">
<service name="com.sun.star.security.AccessController"/>