[Libreoffice-commits] core.git: starmath/source

Caolán McNamara caolanm at redhat.com
Thu May 10 16:07:05 UTC 2018


 starmath/source/mathtype.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8154d17893afff1b910dfe51cb6a6f9c78c301bb
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 10 13:14:51 2018 +0100

    ofz#8206 fix rework as OUStringBuffer
    
    Change-Id: Ie9ef508c9db730c4d273d7258c052d074b6ef088
    Reviewed-on: https://gerrit.libreoffice.org/54082
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index b0d7ceae4fc3..16d18775491a 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -1255,7 +1255,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
                             if (bOk)
                                 rRet.append("} ");
                             else
-                                rRet = rRet.remove(nSizeStartPos, rRet.getLength());
+                                rRet = rRet.truncate(nSizeStartPos);
                             nSetSize--;
                             nCurSize=nOldCurSize;
                         }
@@ -1380,7 +1380,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
                             if (bOk)
                                 rRet.append("} ");
                             else
-                                rRet = rRet.remove(nSubSupStartPos, rRet.getLength());
+                                rRet = rRet.truncate(nSubSupStartPos);
                             nPart++;
                             }
                             break;


More information about the Libreoffice-commits mailing list