diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-05 11:22:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-06 09:54:31 +0100 |
commit | 870f23b69b09dc28e3d750373d057477d931fe87 (patch) | |
tree | a6a82c942e29c0c290eb70f82845f45f3ae6cd4d /starmath | |
parent | a36b3f371343c4fb3708cbe0cd50270dda272385 (diff) |
ofz: avoid oom, tmLDIV has only two slots
Change-Id: I6df2ec0790e94008eba6a7d97256440db5a26ac7
Reviewed-on: https://gerrit.libreoffice.org/45870
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')
-rw-r--r-- | starmath/source/mathtype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 085b7cfc452b..11ce178bf6b6 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -1461,7 +1461,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector, sMainTerm = rRet; rRet.clear(); } - else + else if (nPart == 1) { sPush += rRet; rRet = sPush; |