Kaydet (Commit) a8781520 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz: oom, variation 0 and 1 have one argument

while variation 2 has two arguments

Change-Id: Ia2a9bd5e33b589b6e002da78d1a5b45d703565ef
Reviewed-on: https://gerrit.libreoffice.org/45926Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 6a8fc4ee
......@@ -1644,9 +1644,8 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
rRet.clear();
newline--;
}
else if ((nPart == 2) ||
((nPart == 1) && (nVariation == 0)) ||
(nVariation == 1))
else if ((nPart == 2) || ((nPart == 1) &&
(nVariation == 0 || nVariation == 1)))
{
sPush+=rRet;
rRet = sPush;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment