xmloff/source/text/txtprhdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8b236227976b3b5c78afc916ea4acefd4b4b8c58 Author: Caolán McNamara <[email protected]> AuthorDate: Tue Aug 12 10:01:01 2025 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Wed Aug 13 21:02:20 2025 +0200 cid#1659808 Overflowed constant Change-Id: Ifd0e263baa9c6d2e289d0a6e1be3498c43e27594 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189500 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> (cherry picked from commit 1d5a01da2f0e99d2a95ced541b9c4ee6d3fa6eff) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189525 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx index 6f1df66f68d5..a3e6af3d82fb 100644 --- a/xmloff/source/text/txtprhdl.cxx +++ b/xmloff/source/text/txtprhdl.cxx @@ -1173,7 +1173,7 @@ bool XMLNumber8OneBasedHdl::importXML( const SvXMLUnitConverter& ) const { sal_Int32 nValue = 0; - bool const bRet = ::sax::Converter::convertNumber(nValue, rStrImpValue); + bool const bRet = ::sax::Converter::convertNumber(nValue, rStrImpValue, SAL_MIN_INT8+1, SAL_MAX_INT8); if( bRet ) rValue <<= static_cast<sal_Int8>( nValue - 1 ); return bRet;
