sax/source/tools/converter.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 71a13b036935357823976e00b3dde2e7fe400a6d
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sun Aug 31 21:05:02 2025 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sat Sep 6 14:17:46 2025 +0200

    Related: cid#1660010 don't need this now
    
    Change-Id: Ie243d8c58598ef1653fd31608fc7dc426a7d6779
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190637
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index 99b5482818b6..d07bc32efb2f 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -1542,12 +1542,6 @@ static bool convertDurationHelper(util::Duration& 
rDuration, V string)
         bSuccess = false;
     }
 
-    if (bSuccess)
-    {
-        bSuccess = nYears >= 0 && nYears <= 
std::numeric_limits<sal_uInt16>::max();
-        SAL_WARN_IF(!bSuccess, "sax", "convertDurationHelper: year overflow: " 
<< nYears);
-    }
-
     if (bSuccess)
     {
         rDuration.Negative      = bIsNegativeDuration;

Reply via email to