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 /include/rtl/ustrbuf.hxx | |
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 'include/rtl/ustrbuf.hxx')
-rw-r--r-- | include/rtl/ustrbuf.hxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx index 9f3c8d1650ff..62ba9f6b2cd7 100644 --- a/include/rtl/ustrbuf.hxx +++ b/include/rtl/ustrbuf.hxx @@ -536,26 +536,6 @@ public: return append( str.getStr(), str.getLength() ); } - /** - Appends a portion of the string to this string buffer. - - The characters of the <code>OUString</code> argument are appended, in - order, to the contents of this string buffer, increasing the - length of this string buffer by the length of the argument. - - @param str a string. - @param beginIndex the beginning index, inclusive. - @param count the number of characters. - @return this string buffer. - @since Libreoffice 6.4 - */ - OUStringBuffer & append(const OUString &str, sal_Int32 beginIndex, sal_Int32 count) - { - assert( count == 0 || (beginIndex >= 0 && beginIndex < str.getLength()) ); - assert( beginIndex <= str.getLength() - count ); - return append( str.getStr() + beginIndex, count ); - } - #if defined LIBO_INTERNAL_ONLY OUStringBuffer & append(std::u16string_view sv) { if (sv.size() > sal_uInt32(std::numeric_limits<sal_Int32>::max())) { |