diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-30 10:39:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-30 11:37:59 +0000 |
commit | db9912d824c1d621fdc409b9cdd6c79caefe1327 (patch) | |
tree | 5a3c905b93df25b5baf3c773927778c6f7fc4389 /unoxml | |
parent | 6b19f32252f8ba5540ce3b1e38f8ac6112421906 (diff) |
loplugin:stringadd in ucbhelper..uui
when applying my upcoming patch to also consider O[U]StringBuffer
Change-Id: I49549347c1c041cc9ce103aed1fe1cc3bc1a780f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149751
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/xpath/xpathapi.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/unoxml/source/xpath/xpathapi.cxx b/unoxml/source/xpath/xpathapi.cxx index d4c4f0a469cc..17b28027534c 100644 --- a/unoxml/source/xpath/xpathapi.cxx +++ b/unoxml/source/xpath/xpathapi.cxx @@ -226,15 +226,11 @@ namespace XPath } int line = pError->line; if (line) { - buf.append("Line: "); - buf.append(static_cast<sal_Int32>(line)); - buf.append("\n"); + buf.append("Line: " + OUString::number(static_cast<sal_Int32>(line)) + "\n"); } int column = pError->int2; if (column) { - buf.append("Column: "); - buf.append(static_cast<sal_Int32>(column)); - buf.append("\n"); + buf.append("Column: " + OUString::number(static_cast<sal_Int32>(column)) + "\n"); } } else { buf.append("no error argument!"); |