loplugin:stringconstant: Flag more inefficiencies
Change-Id: I5fe4002c3c0065dfe93be0d8f47df90d57af898b
This commit is contained in:
parent
472c0a3dcc
commit
6ce8ae5f0c
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user