xmloff/source/draw/propimp0.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 098270e2c013300d5a97ee2f5b39f29f735d99b0 Author: Caolán McNamara <[email protected]> AuthorDate: Tue Aug 12 09:44:15 2025 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Thu Aug 14 09:57:53 2025 +0200 cid#1660455 Overflowed constant Change-Id: Idebcb5b87d6720c2e1b468c73bc823656dfda59d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189499 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Jenkins (cherry picked from commit 7e3950902feb78ea8545845f056a380495c7b2f3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189528 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/xmloff/source/draw/propimp0.cxx b/xmloff/source/draw/propimp0.cxx index 92bb46bdacbc..6ecabcd2dde9 100644 --- a/xmloff/source/draw/propimp0.cxx +++ b/xmloff/source/draw/propimp0.cxx @@ -185,7 +185,7 @@ bool XMLTextAnimationStepPropertyHdl::importXML( sal_Int32 nPos = rStrImpValue.indexOf( "px" ); if( nPos != -1 ) { - if (::sax::Converter::convertNumber(nValue, rStrImpValue.subView(0, nPos))) + if (::sax::Converter::convertNumber(nValue, rStrImpValue.subView(0, nPos), SAL_MIN_INT16+1, SAL_MAX_INT16)) { rValue <<= sal_Int16( -nValue ); bRet = true;
