diff options
Diffstat (limited to 'sal/inc/rtl/ustrbuf.hxx')
-rw-r--r-- | sal/inc/rtl/ustrbuf.hxx | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx index d48c5c762..756959748 100644 --- a/sal/inc/rtl/ustrbuf.hxx +++ b/sal/inc/rtl/ustrbuf.hxx @@ -742,25 +742,17 @@ public: Removes the characters in a substring of this sequence. The substring begins at the specified <code>start</code> and - extends to the character at index <code>end - 1</code> or to - the end of the sequence if no such character exists. If - <code>start</code> is equal to <code>end</code>, no changes - are made. + is <code>len</code> characters long. - start must be >= 0 && <= getLength() && <= end + start must be >= 0 && <= This->length - As is usual for the rtl string classes, this is based - on an analogous Java StringBuffer member. In this - case <code>delete</code>, but because that's a reserved - keyword in C++, this is named <code>remove</code>. - - @param start The beginning index, inclusive - @param end The ending index, exclusive + @param start The beginning index, inclusive + @param len The substring length @return this string buffer. */ - OUStringBuffer & remove( sal_Int32 start, sal_Int32 end ) + OUStringBuffer & remove( sal_Int32 start, sal_Int32 len ) { - rtl_uStringbuffer_remove( &pData, start, end ); + rtl_uStringbuffer_remove( &pData, start, len ); return *this; } |