diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-02 18:59:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-03 17:11:14 +0100 |
commit | ab285c743afa1c8769581871d7b56374fd8c49f1 (patch) | |
tree | d5628df49fb4db29d474e5e7b7cef4072c33153a /l10ntools/source | |
parent | tdf#42949 restore vcl/canvastools.hxx for OSL_DEBUG_LEVEL > 2 (diff) | |
download | core-ab285c743afa1c8769581871d7b56374fd8c49f1.tar.gz core-ab285c743afa1c8769581871d7b56374fd8c49f1.zip |
loplugin:stringadd
tweak the plugin to be more permissive, then validate by hand
afterwards
Change-Id: I40c5c911fe6ff7e45baaca372abf7dac211d9654
Reviewed-on: https://gerrit.libreoffice.org/81942
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/merge.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index aad0388bd23d..5cf0972e645e 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -322,8 +322,8 @@ OString MergeDataFile::CreateKey(const OString& rTYP, const OString& rGID, const OString& rLID, const OString& rFilename, bool bCaseSensitive) { static const char sStroke[] = "-"; - OString sKey = rTYP + sStroke + rGID + sStroke + rLID + sStroke; - sKey += lcl_NormalizeFilename(rFilename); + OString sKey = rTYP + sStroke + rGID + sStroke + rLID + sStroke + + lcl_NormalizeFilename(rFilename); if(bCaseSensitive) return sKey; // officecfg case sensitive identifier return sKey.toAsciiUpperCase(); |