diff options
author | Eike Rathke <erack@redhat.com> | 2023-06-21 14:32:55 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2023-06-21 16:34:46 +0200 |
commit | c7b2277f57cf72b7dc6e4cbd179ce40951fbae8c (patch) | |
tree | 09bd9c62d196886f80dbdf20e1b693719e64a604 /tools/source | |
parent | ea1cd4993be992b89930db4811d08a4a51b1f68d (diff) |
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 <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/datetime/duration.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/source/datetime/duration.cxx b/tools/source/datetime/duration.cxx index be51a6e95e0f..3aa195cfbda5 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; |