Kaydet (Commit) 6ce8ae5f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: Flag more inefficiencies

Change-Id: I5fe4002c3c0065dfe93be0d8f47df90d57af898b
üst 472c0a3d
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment