summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-25 12:35:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-25 12:38:33 +0200
commit687ab37853be1adaf84a78a6a5b1c947ea0608fc (patch)
treebfbff67f99d05e16252c13549f0ba1f9bb9b7734 /basic
parentfce88d8ff087bdc6b14649e15e1123892c5d414f (diff)
loplugin:stringconstant: Flag more inefficiencies
Change-Id: Ie6ca3065ee60fb2ad75f3bab53059046a981da8d
Diffstat (limited to 'basic')
-rw-r--r--basic/source/comp/codegen.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/codegen.cxx b/basic/source/comp/codegen.cxx
index 81f9de277898..08b695a4938d 100644
--- a/basic/source/comp/codegen.cxx
+++ b/basic/source/comp/codegen.cxx
@@ -194,7 +194,7 @@ void SbiCodeGen::Save()
sal_uInt16 nPassCount = 1;
if( nIfaceCount )
{
- int nPropPrefixFound = aProcName.indexOf(OUString("Property "));
+ int nPropPrefixFound = aProcName.indexOf("Property ");
OUString aPureProcName = aProcName;
OUString aPropPrefix;
if( nPropPrefixFound == 0 )