tools/source/datetime/duration.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 9a52d5b11c74d996f9300f8b4126635aad0e8317
Author:     Eike Rathke <er...@redhat.com>
AuthorDate: Wed Jun 21 14:32:55 2023 +0200
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Wed Jun 21 18:46:15 2023 +0200

    rbOverflow was already set for bBadNS, unnecessary to set it again
    
    Change-Id: I26e32b25b53be590bc24646803c7442385ec4d3b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153393
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Jenkins
    (cherry picked from commit b72a7c01b927912dd746f033b2ad4933e46b1b86)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153411

diff --git a/tools/source/datetime/duration.cxx 
b/tools/source/datetime/duration.cxx
index 7140e2b99579..1199ced39443 100644
--- a/tools/source/datetime/duration.cxx
+++ b/tools/source/datetime/duration.cxx
@@ -173,7 +173,6 @@ Duration Duration::Mult(sal_Int32 nMult, bool& rbOverflow) 
const
         const sal_uInt64 nMult64 = (nMult < 0) ? -nMult : nMult;
         do
         {
-            rbOverflow = true;
             sal_uInt64 nN;
             if 
(o3tl::checked_multiply(static_cast<sal_uInt64>(maTime.GetNanoSec()), nMult64, 
nN))
                 break;

Reply via email to