diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-15 21:24:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-16 09:56:17 +0200 |
commit | c87c6166f7c6318367a4d34ecf8ff0c78189c71c (patch) | |
tree | f73e09ac277ae0d80943737e8a2369bc0cfc0cb6 /starmath | |
parent | f4b80fc579abcb372ba87f08b575dbdb080dd077 (diff) |
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>
Diffstat (limited to 'starmath')
-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 c1d4c9c2c135..4eab25b87c15 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -1254,7 +1254,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector, if (bOk) rRet.append("} "); - else + else if (rRet.getLength() > nSizeStartPos) rRet = rRet.truncate(nSizeStartPos); nSetSize--; nCurSize=nOldCurSize; @@ -1379,7 +1379,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector, if (bOk) rRet.append("} "); - else + else if (rRet.getLength() > nSubSupStartPos) rRet = rRet.truncate(nSubSupStartPos); nPart++; } |