diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-03 08:50:28 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-03 13:17:37 +0200 |
commit | ac8ee6e8f7f2de31e1dc496c1fab953e88e15bba (patch) | |
tree | dee587ee89174b613f64806d15e9bcbf61d64510 /l10ntools | |
parent | 3c7354a85a9bd47a2676aadaad2f6622fe2d959c (diff) |
Revert "add more append methods to *StringBuffer"
This reverts commit 8cfa7f4dc00f3dd37e57917ef25c806b0e9e6e73.
comment from sberg:
we already have 70519a43e0d89a6b5d89859a6851f8c757c6b0c7 "Replace OUStringBuffer::appendCopy with append(std::u16string_view)" (which can be extended to OStringBuffer if needed)
Change-Id: Ifcc550a8cf26ef38ad49fde8b067f53c999c9276
Reviewed-on: https://gerrit.libreoffice.org/70178
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/helper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/helper.cxx b/l10ntools/source/helper.cxx index ba1598de2452..c16d104b34e9 100644 --- a/l10ntools/source/helper.cxx +++ b/l10ntools/source/helper.cxx @@ -21,7 +21,7 @@ OString escapeAll( sal_Int32 nUnEscapedOne = rUnEscaped.indexOf(rText[nIndex]); if( nUnEscapedOne != -1 ) { - sReturn.append(rEscaped, nUnEscapedOne*2, 2); + sReturn.append(rEscaped.copy(nUnEscapedOne*2,2)); } else sReturn.append(rText[nIndex]); |