summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathtype.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 11ce178bf6b6..9dd5ec5f9297 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -1348,7 +1348,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
sMainTerm = rRet;
rRet.clear();
}
- else
+ else if (nPart == 1)
{
sPush += rRet;
rRet = sPush;