diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2001-06-25 13:15:02 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2001-06-25 13:15:02 +0000 |
commit | 3faaaa31ce06a4ab7c4c8981cb3ea7322c2626e8 (patch) | |
tree | 7501c8d0609a83a8c04ae83a808f9d33ede321c3 | |
parent | beb3c6bcb4c7de232cdef25d0161c781a21c469e (diff) |
#87233# singleton name prefix: the
-rw-r--r-- | cppuhelper/source/servicefactory.cxx | 16 | ||||
-rw-r--r-- | stoc/source/corereflection/crefl.cxx | 6 | ||||
-rw-r--r-- | stoc/source/registry_tdprovider/tdprovider.cxx | 6 |
3 files changed, 14 insertions, 14 deletions
diff --git a/cppuhelper/source/servicefactory.cxx b/cppuhelper/source/servicefactory.cxx index 84db1a0dabd2..c17a26e89b3f 100644 --- a/cppuhelper/source/servicefactory.cxx +++ b/cppuhelper/source/servicefactory.cxx @@ -2,9 +2,9 @@ * * $RCSfile: servicefactory.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: kr $ $Date: 2001-06-15 14:20:13 $ + * last change: $Author: dbo $ $Date: 2001-06-25 14:15:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -260,16 +260,16 @@ static Reference< XComponentContext > initializeSF( ContextEntry_Init context_values[ 4 ]; // smgr context_values[ 0 ].bLateInitService = false; - context_values[ 0 ].name = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.ServiceManager") ); - context_values[ 0 ].value = makeAny( xSF ); + context_values[ 0 ].name = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.theServiceManager") ); + context_values[ 0 ].value <<= xSF; // tdmgr context_values[ 1 ].bLateInitService = true; - context_values[ 1 ].name = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.reflection.TypeDescriptionManager") ); - context_values[ 1 ].value = makeAny( OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.reflection.TypeDescriptionManager") ) ); + context_values[ 1 ].name = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.reflection.theTypeDescriptionManager") ); + context_values[ 1 ].value <<= OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.reflection.TypeDescriptionManager") ); // tdmgr: cache size context_values[ 2 ].bLateInitService = false; context_values[ 2 ].name = OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.stoc.TypeDescriptionManager.CacheSize") ); - context_values[ 2 ].value = makeAny( (sal_Int32)512 ); + context_values[ 2 ].value <<= (sal_Int32)512; sal_Int32 nEntries = 3; if (types_xRegistry.is()) @@ -300,7 +300,7 @@ static Reference< XComponentContext > initializeSF( Reference< container::XHierarchicalNameAccess > xTDMgr; if (xContext->getValueByName( OUString( RTL_CONSTASCII_USTRINGPARAM( - "com.sun.star.reflection.TypeDescriptionManager") ) ) >>= xTDMgr) + "com.sun.star.reflection.theTypeDescriptionManager") ) ) >>= xTDMgr) { installTypeDescriptionManager( xTDMgr ); } diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx index ed5a26521fb3..dd08219c194b 100644 --- a/stoc/source/corereflection/crefl.cxx +++ b/stoc/source/corereflection/crefl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: crefl.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jbu $ $Date: 2001-06-22 15:41:59 $ + * last change: $Author: dbo $ $Date: 2001-06-25 14:12:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -130,7 +130,7 @@ IdlReflectionServiceImpl::IdlReflectionServiceImpl( { g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt ); xContext->getValueByName( OUString( - RTL_CONSTASCII_USTRINGPARAM("com.sun.star.reflection.TypeDescriptionManager") ) ) >>= _xTDMgr; + RTL_CONSTASCII_USTRINGPARAM("com.sun.star.reflection.theTypeDescriptionManager") ) ) >>= _xTDMgr; OSL_ENSURE( _xTDMgr.is(), "### cannot get \"com.sun.star.reflection.TypeDescriptionManager\"!" ); } //__________________________________________________________________________________________________ diff --git a/stoc/source/registry_tdprovider/tdprovider.cxx b/stoc/source/registry_tdprovider/tdprovider.cxx index 6f1002e65985..815827d87c8e 100644 --- a/stoc/source/registry_tdprovider/tdprovider.cxx +++ b/stoc/source/registry_tdprovider/tdprovider.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tdprovider.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: jbu $ $Date: 2001-06-22 16:21:00 $ + * last change: $Author: dbo $ $Date: 2001-06-25 14:13:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -175,7 +175,7 @@ ProviderImpl::ProviderImpl( const Reference< XComponentContext > & xContext ) { g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt ); xContext->getValueByName( - OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.reflection.TypeDescriptionManager") ) ) >>= _xTDMgr; + OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.reflection.theTypeDescriptionManager") ) ) >>= _xTDMgr; OSL_ENSURE( _xTDMgr.is(), "### cannot get single instance \"TypeDescriptionManager\" from context!" ); // registries to read from |