diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-21 18:15:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-22 11:50:56 +0200 |
commit | c5ea059a1def974d798a6218c5cc6cffcb3a00ab (patch) | |
tree | 135f96db882b1f8baeeac048fe718aac5d675761 /svl | |
parent | 4489418cc7e439708e091e5c7f379dd78f6cfc1b (diff) |
no need to create a temporary when appending to OUStringBuffer
Change-Id: If31ac18f08618f805d82c0e49179e3ae9afb124f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114466
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index f1c45e04bec2..b5283a8373ee 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -3212,13 +3212,13 @@ OUString SvNumberFormatter::GenerateFormat(sal_uInt32 nIndex, if (insertBrackets) { sTmpStr.append('('); - sTmpStr.append(sString.toString()); + sTmpStr.append(sString); sTmpStr.append(')'); } else { sTmpStr.append('-'); - sTmpStr.append(sString.toString()); + sTmpStr.append(sString); } sString = sTmpStr; } |