diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-04-17 21:16:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-18 21:28:16 +0200 |
commit | 3f0220f18a66630e06e3c128980f21a5722f49ca (patch) | |
tree | a6694be81af794826056765965d5ffe989e2e3b6 /tools | |
parent | edfe8adcec43241ad052c7c82b44e14bd443323b (diff) |
Handle empty range properly
Since commit 690526f95e3ee4fd25bb2c987e093543e4bc435b
(Generalize basegfx::fround for templated return type, 2024-04-14),
an assertion could fail for certain case, like
include/o3tl/unit_conversion.hxx:75: sal_Int64 o3tl::detail::MulDiv(I,
sal_Int64, sal_Int64) [I = long]: Assertion `isBetween(n,
(SAL_MIN_INT64 + d / 2) / m, (SAL_MAX_INT64 - d / 2) / m)'
The problem was unchecked case of empty B2DRange.
Change-Id: Ice9125ea557b73a7fabf64bc1ad9368f503ad525
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166101
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions