diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:36:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:38:34 +0200 |
commit | 6ce8ae5f0ca3cda17a1e708a273419f46bd0e8b0 (patch) | |
tree | 5129bd9e271afe7a452d95c8c0cb928e217a030b /cppuhelper/source/factory.cxx | |
parent | 472c0a3dcc8dd146e584c4b677a63854b8642f35 (diff) |
loplugin:stringconstant: Flag more inefficiencies
Change-Id: I5fe4002c3c0065dfe93be0d8f47df90d57af898b
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 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 ); |