starmath/source/mathtype.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 870f23b69b09dc28e3d750373d057477d931fe87
Author: Caolán McNamara <[email protected]>
Date:   Tue Dec 5 11:22:58 2017 +0000

    ofz: avoid oom, tmLDIV has only two slots
    
    Change-Id: I6df2ec0790e94008eba6a7d97256440db5a26ac7
    Reviewed-on: https://gerrit.libreoffice.org/45870
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to