summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathtype.cxx4
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;