summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-30 16:10:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-30 20:03:41 +0000
commitdb7f33af1438538bb51b376242294ecd3bfcb055 (patch)
tree8e5d6139159130326a4eddaa64406224f5bc9816 /i18nutil
parent7d8ffcc587dc54764e3fc67b8622b7b0c088297e (diff)
loplugin:stringadd in various
when applying my upcoming patch to also consider O[U]StringBuffer Change-Id: I8cf6a47ad357ddc73e2c430d966be72d5efd1485 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149767 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/unicode.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index 730b5105d52c..35bfb25f728f 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -1127,8 +1127,7 @@ OUString ToggleUnicodeCodepoint::ReplacementString()
//pad with zeros - minimum length of 4.
for( sal_Int32 i = 4 - aTmp.getLength(); i > 0; --i )
aTmp.insert( 0,"0" );
- output.append( "U+" );
- output.append( aTmp );
+ output.append( "U+" + aTmp );
}
}
return output.makeStringAndClear();