loplugin:stringconstant: Flag more inefficiencies

Change-Id: I5fe4002c3c0065dfe93be0d8f47df90d57af898b
This commit is contained in:
Stephan Bergmann 2015-06-25 12:36:23 +02:00
parent 472c0a3dcc
commit 6ce8ae5f0c

View File

@ -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 );