ofz#8327 Abrt

Change-Id: I89f7dd3909cfbe27d7ce41a6bfb51a166fe885bb
Reviewed-on: https://gerrit.libreoffice.org/54401
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2018-05-15 21:24:34 +01:00
parent f4b80fc579
commit c87c6166f7

View File

@@ -1254,7 +1254,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
if (bOk) if (bOk)
rRet.append("} "); rRet.append("} ");
else else if (rRet.getLength() > nSizeStartPos)
rRet = rRet.truncate(nSizeStartPos); rRet = rRet.truncate(nSizeStartPos);
nSetSize--; nSetSize--;
nCurSize=nOldCurSize; nCurSize=nOldCurSize;
@@ -1379,7 +1379,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
if (bOk) if (bOk)
rRet.append("} "); rRet.append("} ");
else else if (rRet.getLength() > nSubSupStartPos)
rRet = rRet.truncate(nSubSupStartPos); rRet = rRet.truncate(nSubSupStartPos);
nPart++; nPart++;
} }