diff options
Diffstat (limited to 'stoc/source/servicemanager/servicemanager.cxx')
-rw-r--r-- | stoc/source/servicemanager/servicemanager.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx index 4d10bd44e99d..73c9ec1ab526 100644 --- a/stoc/source/servicemanager/servicemanager.cxx +++ b/stoc/source/servicemanager/servicemanager.cxx @@ -883,8 +883,7 @@ Reference< XInterface > OServiceManager::createInstanceWithContext( if (xProps.is()) { Reference< XComponentContext > xDefContext; - xProps->getPropertyValue( - OUString("DefaultContext") ) >>= xDefContext; + xProps->getPropertyValue( "DefaultContext" ) >>= xDefContext; OSL_ENSURE( xContext == xDefContext, "### default context of service manager singleton differs from context holding it!" ); @@ -947,8 +946,7 @@ Reference< XInterface > OServiceManager::createInstanceWithArgumentsAndContext( if (xProps.is()) { Reference< XComponentContext > xDefContext; - xProps->getPropertyValue( - OUString("DefaultContext") ) >>= xDefContext; + xProps->getPropertyValue( "DefaultContext" ) >>= xDefContext; OSL_ENSURE( xContext == xDefContext, "### default context of service manager singleton differs from context holding it!" ); @@ -1501,8 +1499,7 @@ void ORegistryServiceManager::fillAllNamesFromRegistry( HashSet_OWString & rSet try { - Reference<XRegistryKey > xServicesKey = xRootKey->openKey( - OUString("SERVICES") ); + Reference<XRegistryKey > xServicesKey = xRootKey->openKey( "SERVICES" ); // root + /Services + / if( xServicesKey.is() ) { |