summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-25 12:36:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-25 12:38:34 +0200
commit6ce8ae5f0ca3cda17a1e708a273419f46bd0e8b0 (patch)
tree5129bd9e271afe7a452d95c8c0cb928e217a030b /cppuhelper
parent472c0a3dcc8dd146e584c4b677a63854b8642f35 (diff)
loplugin:stringconstant: Flag more inefficiencies
Change-Id: I5fe4002c3c0065dfe93be0d8f47df90d57af898b
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/factory.cxx3
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 );