diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-10 13:14:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-10 18:06:42 +0200 |
commit | 8154d17893afff1b910dfe51cb6a6f9c78c301bb (patch) | |
tree | bbc7e97286600dc568eb06c45a1072108ca172cb /starmath/source | |
parent | c4380ced324877a91a6df5db938c70ab53a257a1 (diff) |
ofz#8206 fix rework as OUStringBuffer
Change-Id: Ie9ef508c9db730c4d273d7258c052d074b6ef088
Reviewed-on: https://gerrit.libreoffice.org/54082
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/mathtype.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |