diff options
-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 f7f7900740d2..6040cf6cddde 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -782,8 +782,7 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory() aLocation = xLocationKey->getAsciiValue(); // search protocol delimiter - sal_Int32 nPos = aLocation.indexOf( - OUString("://") ); + sal_Int32 nPos = aLocation.indexOf("://"); if( nPos != -1 ) { aActivatorName = aLocation.copy( 0, nPos ); |