editeng/source/editeng/editdoc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 08163c1cb3039e42f093e6485f8321d6381446ec Author: Caolán McNamara <caol...@redhat.com> Date: Wed Sep 11 10:13:17 2013 +0100 single arg String::Erase erases to end of string Change-Id: Ifc77b9d0b83a784ec4e4659b83fe8356e54e279f diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 19f0186..4439615 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -1709,7 +1709,7 @@ void ContentNode::Append(const XubString& rStr) void ContentNode::Erase(sal_uInt16 nPos) { - maString = maString.replaceAt(nPos, 1, ""); + maString = maString.copy(0, nPos); } void ContentNode::Erase(sal_uInt16 nPos, sal_uInt16 nCount)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits