diff options
Diffstat (limited to 'cppuhelper/source/factory.cxx')
-rw-r--r-- | cppuhelper/source/factory.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 649024f667d8..3b5dafe92cdd 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -700,9 +700,8 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory() { aActivatorUrl = xActivatorKey->getAsciiValue(); - OUString tmpActivator(aActivatorUrl.getStr()); sal_Int32 nIndex = 0; - aActivatorName = tmpActivator.getToken(0, ':', nIndex ); + aActivatorName = aActivatorUrl.getToken(0, ':', nIndex ); Reference<XRegistryKey > xLocationKey = xImplementationKey->openKey( "/UNO/LOCATION" ); |