diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-24 09:29:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-24 09:50:49 +0000 |
commit | c76fb95d45f0240ee00f831a88e8a52bf3faacbc (patch) | |
tree | 482c9442f5f5b1576626e6eb76ff42ae59350816 /basic/source/sbx/sbxscan.cxx | |
parent | 3c3a47e911a7ee4d199fe96bd3003c7d9afa9deb (diff) |
loplugin:stringadd in b*
after my patch to merge the bufferadd loplugin into stringadd
Change-Id: Ieb9b4f5154173738e26b429b55c7a3ea38733553
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149478
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/sbx/sbxscan.cxx')
-rw-r--r-- | basic/source/sbx/sbxscan.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx index 71633b086a35..317539fbeecd 100644 --- a/basic/source/sbx/sbxscan.cxx +++ b/basic/source/sbx/sbxscan.cxx @@ -114,8 +114,7 @@ ErrCode ImpScan( const OUString& rWSrc, double& nVal, SbxDataType& rType, short decsep = 0; short ndig = 0; short ncdig = 0; // number of digits after decimal point - OUStringBuffer aSearchStr("0123456789DEde"); - aSearchStr.append(cNonIntntlDecSep); + OUStringBuffer aSearchStr(OUString::Concat("0123456789DEde") + OUStringChar(cNonIntntlDecSep)); if( cIntntlDecSep != cNonIntntlDecSep ) aSearchStr.append(cIntntlDecSep); if( cIntntlDecSepAlt && cIntntlDecSepAlt != cNonIntntlDecSep ) |