summaryrefslogtreecommitdiff
path: root/stoc/source/servicemanager
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 08:29:36 +0200
committerNoel Grandin <noel@peralex.com>2015-11-04 14:10:44 +0200
commit59b072e22b0610abc7ffdbc75873ef5cbba58de7 (patch)
tree663c2d01a983508f9b22ec87fae29b16ab5a1683 /stoc/source/servicemanager
parentbaa411b59c3840a4dddf5447a0b4583eb5edea74 (diff)
yyyyy
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
Diffstat (limited to 'stoc/source/servicemanager')
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx9
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() )
{