xmloff/source/draw/propimp0.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7e3950902feb78ea8545845f056a380495c7b2f3
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Aug 12 09:44:15 2025 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Aug 13 15:54:09 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

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;

Reply via email to