diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-25 14:24:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-25 18:43:52 +0200 |
commit | e810bd2b99777e192fb464572fa64a34bc0768fe (patch) | |
tree | 22e209b88814242c1914931dff28112cbf8c0e6f /comphelper | |
parent | 578758835e700b38b167753ccda9527f3a8cc43b (diff) |
merge some stringadds
found with a lightly tweaked version of the loplugin:stringadd
and some hand-holding.
Change-Id: I146aadcaf665e98fea89a9cad2df4dc3935622f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152275
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/errcode.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/comphelper/source/misc/errcode.cxx b/comphelper/source/misc/errcode.cxx index b8d8230d0a7a..77d58ac364be 100644 --- a/comphelper/source/misc/errcode.cxx +++ b/comphelper/source/misc/errcode.cxx @@ -144,9 +144,7 @@ COMPHELPER_DLLPUBLIC OUString ErrCode::toString() const pClass = u"Compiler"; break; } - buf.append(OUString::Concat(" Class:") + pClass); - - buf.append(" Code:" + OUString::number(GetCode())); + buf.append(OUString::Concat(" Class:") + pClass + " Code:" + OUString::number(GetCode())); } buf.append(")"); return buf.makeStringAndClear(); |