diff options
-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) { |