summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/rtl/ustrbuf.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx
index b8f2d0566193..76b68dd661c6 100644
--- a/sal/inc/rtl/ustrbuf.hxx
+++ b/sal/inc/rtl/ustrbuf.hxx
@@ -965,7 +965,7 @@ public:
@since LibreOffice 4.0
*/
- OUStringBuffer & remove( sal_Int32 start = 0)
+ OUStringBuffer & truncate( sal_Int32 start = 0 )
{
rtl_uStringbuffer_remove( &pData, start, getLength() - start );
return *this;
@@ -1219,7 +1219,7 @@ public:
}
if(index < getLength())
{
- remove(index);
+ truncate(index);
}
return result - getLength();
}