diff options
-rw-r--r-- | xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx index 3b2b20315961..a9657038c7f0 100644 --- a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx @@ -176,7 +176,7 @@ void XMLFootnoteConfigurationImportContext::SetAttribute( sal_Int32 nElement, case XML_ELEMENT(TEXT, XML_OFFSET): // for backwards compatibility with SRC630 & earlier { sal_Int32 nTmp; - if (::sax::Converter::convertNumber(nTmp, rValue)) + if (::sax::Converter::convertNumber(nTmp, rValue, 0, SAL_MAX_UINT16)) { nOffset = static_cast<sal_uInt16>(nTmp); } |