summaryrefslogtreecommitdiff
path: root/vcl/source/control/longcurr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-31 13:13:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-01 21:39:28 +0200
commit28580110807a38e3ba6f8385f22871b8dfe0a910 (patch)
tree33ff5f3c25316926f14ffbb837025090465c2a2a /vcl/source/control/longcurr.cxx
parent58e266ae808dbf3e157b38eb2c8f24774131e0f8 (diff)
add operator+=(OUStringBuffer) method to OUString
to reduce needless object creation and copying some more And fix what looks like a bug in CSS hex color parsing at line 609 in sw/../parcss1.cxx that has been there since commit 7b0b5cdfeed656b279bc32cd929630d5fc25878b "initial import" Change-Id: Ibad42b23721a56493bd1edcd7165e6104494a5c3 Reviewed-on: https://gerrit.libreoffice.org/58357 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/longcurr.cxx')
-rw-r--r--vcl/source/control/longcurr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/longcurr.cxx b/vcl/source/control/longcurr.cxx
index cc5da9b3409c..f2a741abb6d6 100644
--- a/vcl/source/control/longcurr.cxx
+++ b/vcl/source/control/longcurr.cxx
@@ -192,8 +192,8 @@ bool ImplCurrencyGetValue( const OUString& rStr, BigInt& rValue,
if (aStr2.getLength() < nDecDigits)
string::padToLength(aStr2, nDecDigits, '0');
+ aStr1.append(aStr2);
aStr = aStr1.makeStringAndClear();
- aStr += aStr2.makeStringAndClear();
// check range
BigInt nValue( aStr );