summaryrefslogtreecommitdiffstats
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 14:52:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-03 09:26:35 +0200
commit8cfa7f4dc00f3dd37e57917ef25c806b0e9e6e73 (patch)
tree35408cf40d7bf3f93ff7405695f48796abc6089b /svl
parentfind-unneeded-includes: filter out boost/variant.hpp (diff)
downloadcore-8cfa7f4dc00f3dd37e57917ef25c806b0e9e6e73.tar.gz
core-8cfa7f4dc00f3dd37e57917ef25c806b0e9e6e73.zip
add more append methods to *StringBuffer
which performs the append without needing the creation of a temporary *String Change-Id: If9ad3222275f26659db2e7df8d34f068977c4d17 Reviewed-on: https://gerrit.libreoffice.org/69826 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zformat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index daa9791dba3c..c7d6954995d6 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -1969,7 +1969,7 @@ OUString SvNumberformat::StripNewCurrencyDelimiters( const OUString& rStr )
sal_Int32 nEnd;
if ( (nEnd = GetQuoteEnd( rStr, nPos )) >= 0 )
{
- aTmp.append(rStr.copy( nStartPos, ++nEnd - nStartPos ));
+ aTmp.append(rStr, nStartPos, ++nEnd - nStartPos );
nStartPos = nEnd;
}
else