summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component_context.cxx
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2001-05-18 13:56:25 +0000
committerDaniel Boelzle <dbo@openoffice.org>2001-05-18 13:56:25 +0000
commit8656b9498b5b1a037501b1b1577121ccdb46df7c (patch)
tree3b3c7c783027249bf153fa53c0444c594a5849c1 /cppuhelper/source/component_context.cxx
parentbcd7a99269dc16a8ade304a91d5cb8781e868ca8 (diff)
#87233# reading out singletons information
Diffstat (limited to 'cppuhelper/source/component_context.cxx')
-rw-r--r--cppuhelper/source/component_context.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 037680b01005..a08d91903e4c 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: component_context.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dbo $ $Date: 2001-05-09 14:00:29 $
+ * last change: $Author: dbo $ $Date: 2001-05-18 14:56:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -339,8 +339,8 @@ ComponentContext::ComponentContext(
try
{
Reference< registry::XRegistryKey > const & xKey = pKeys[ nPos ];
- m_map[ xKey->getKeyName().copy( 11 ) ] =
- new ContextEntry( true, makeAny( xKey->getAsciiValue() ) );
+ m_map[ xKey->getKeyName().copy( sizeof("/SINGLETONS") /* -\0 +'/' */ ) ] =
+ new ContextEntry( true, makeAny( xKey->getStringValue() ) );
}
catch (Exception & rExc)
{