summaryrefslogtreecommitdiff
path: root/i18npool
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 /i18npool
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 'i18npool')
-rw-r--r--i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
index 813e2451b7bf..7d4dc4542f9a 100644
--- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
+++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
@@ -459,7 +459,7 @@ void lcl_formatPersianWord( sal_Int32 nNumber, OUString& rsResult )
nNumber /= 1000;
nSection++;
}
- rsResult += aTemp.makeStringAndClear();
+ rsResult += aTemp;
}
@@ -536,7 +536,7 @@ void lcl_formatCharsGR(const sal_Unicode table[], int n, OUString& s )
}
sb.append(gr_smallNum(table,n));
- s += sb.makeStringAndClear();
+ s += sb;
}
static