summaryrefslogtreecommitdiff
path: root/codemaker/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-11 16:39:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-11 16:39:43 +0100
commit584262fed1368dba382d88dfd25fe35ac7d4b349 (patch)
treebed7da36f2db982ec0491e926df1e414f8dcf86d /codemaker/source
parente316c4f2a40a4a562028f0a66c40321ffdf87378 (diff)
loplugin:stringconstant: handle OStringBuffer::append
Change-Id: I283da52c0ee2b63c19e31e9a61ab24997c037a6a
Diffstat (limited to 'codemaker/source')
-rw-r--r--codemaker/source/codemaker/global.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx
index c3dc266a655d..177230982905 100644
--- a/codemaker/source/codemaker/global.cxx
+++ b/codemaker/source/codemaker/global.cxx
@@ -99,7 +99,7 @@ OString createFileNameFromType( const OString& destination,
fileNameBuf.append(destination.getStr(), destination.getLength());
if (bWithSeparator)
- fileNameBuf.append("/", 1);
+ fileNameBuf.append("/");
fileNameBuf.append(type.getStr(), type.getLength());
fileNameBuf.append(postfix.getStr(), postfix.getLength());