diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-24 10:09:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-24 15:29:18 +0000 |
commit | 637cceeefba0b0e2e09ac734bb0327364e8ddd25 (patch) | |
tree | ba321c814d9806921cbc23c293706cc54c8b82df /codemaker/source | |
parent | 4d90e2696dd4358b3d02bbbae90160c92d36263f (diff) |
loplugin:stringadd in c*
after my patch to merge the bufferadd loplugin into stringadd
Change-Id: I66f4ce2fd87c1e12eefb14406e0e17212f68ceff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149497
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'codemaker/source')
-rw-r--r-- | codemaker/source/codemaker/global.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index 1310a0b05608..96e626a0b57e 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -97,8 +97,7 @@ OString createFileNameFromType( const OString& destination, if (bWithSeparator) fileNameBuf.append("/"); - fileNameBuf.append(type); - fileNameBuf.append(postfix); + fileNameBuf.append(type + postfix); OString fileName(fileNameBuf.makeStringAndClear()); |