From 59b072e22b0610abc7ffdbc75873ef5cbba58de7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 4 Nov 2015 08:29:36 +0200 Subject: yyyyy Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548 --- cppuhelper/source/factory.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'cppuhelper') diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 0a1e1252582f..d970f0333e9d 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -755,7 +755,7 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory() OUString aLocation; Reference xActivatorKey = xImplementationKey->openKey( - OUString("/UNO/ACTIVATOR") ); + "/UNO/ACTIVATOR" ); if( xActivatorKey.is() && xActivatorKey->getValueType() == RegistryValueType_ASCII ) { aActivatorUrl = xActivatorKey->getAsciiValue(); @@ -765,7 +765,7 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory() aActivatorName = tmpActivator.getToken(0, ':', nIndex ); Reference xLocationKey = xImplementationKey->openKey( - OUString("/UNO/LOCATION") ); + "/UNO/LOCATION" ); if( xLocationKey.is() && xLocationKey->getValueType() == RegistryValueType_ASCII ) aLocation = xLocationKey->getAsciiValue(); } @@ -774,7 +774,7 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory() // old style"url" // the location of the program code of the implementation Reference xLocationKey = xImplementationKey->openKey( - OUString("/UNO/URL") ); + "/UNO/URL" ); // is the key of the right type ? if( xLocationKey.is() && xLocationKey->getValueType() == RegistryValueType_ASCII ) { @@ -819,8 +819,7 @@ Sequence< OUString > ORegistryFactoryHelper::getSupportedServiceNames() // not yet loaded try { - Reference xKey = xImplementationKey->openKey( - OUString("UNO/SERVICES") ); + Reference xKey = xImplementationKey->openKey( "UNO/SERVICES" ); if (xKey.is()) { -- cgit