diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-05 16:39:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-05 21:28:03 +0100 |
commit | e34f067c15aaba1ce125ca4417c7d6f331f7cfc3 (patch) | |
tree | 1b3e801a58a93ebe1d8106420745692e93fb260f /starmath | |
parent | f42caebb9c1eec8145c36531a3c7003e91aa6051 (diff) |
ofz#4533 max 10 digits after decimal point
Change-Id: I85e88269ce9148d1d9deca0b22dd8e8d2129d1b3
Reviewed-on: https://gerrit.libreoffice.org/45898
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/mathmlattr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlattr.cxx b/starmath/source/mathmlattr.cxx index 9e081302ad43..f68bc003e4ff 100644 --- a/starmath/source/mathmlattr.cxx +++ b/starmath/source/mathmlattr.cxx @@ -44,7 +44,7 @@ sal_Int32 ParseMathMLUnsignedNumber(const OUString &rStr, Fraction *pUN) if (cD < u'0' || u'9' < cD) break; } - if (nIdx == 0 || (nIdx == 1 && nDecimalPoint == 0)) + if (nIdx == 0 || ((nIdx == 1 || nIdx == 11) && nDecimalPoint == 0)) return -1; if (nDecimalPoint == -1) { |