diff options
author | Eike Rathke <erack@redhat.com> | 2023-06-21 14:32:55 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2023-06-21 18:46:15 +0200 |
commit | 9a52d5b11c74d996f9300f8b4126635aad0e8317 (patch) | |
tree | 22f9b83ed1c475aecf6c0d91896b350931d9c5c5 /tools | |
parent | a89d44bc8eb8ce519e7d932e7c5ec347d58d4a58 (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
(cherry picked from commit b72a7c01b927912dd746f033b2ad4933e46b1b86)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153411
Diffstat (limited to 'tools')
-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 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; |