summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-12-05 17:26:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-12-06 09:54:56 +0100
commit175c0541c7cb57e97ff04572cd012d7b5aaf9560 (patch)
tree7de49ab2f42d25a68431ce3b484155a3fb0cd13f /starmath
parent870f23b69b09dc28e3d750373d057477d931fe87 (diff)
ofz: tmRoot variation 1 has two arguments
Change-Id: I75ad9bcbc35ee2a0b9b7941cadc9b4bee79fb6c0 Reviewed-on: https://gerrit.libreoffice.org/45905 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.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;