summaryrefslogtreecommitdiff
path: root/sfx2/sdi/sfxitems.sdi
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-05-22 20:22:08 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-05-22 20:53:05 +0200
commit08da27fc377f443d1d6698f4a061fa462849062d (patch)
tree374244a1f1e375dfbe764b7a8de1a5ce662172a9 /sfx2/sdi/sfxitems.sdi
parentd44b86964353cc2e65eba6c2e06529fd9b716cc1 (diff)
Handle empty range correctly
Otherwise, the translation gets MAX_DBL value, and scaling becomes 0. After commit 690526f95e3ee4fd25bb2c987e093543e4bc435b (Generalize basegfx::fround for templated return type, 2024-04-15) this made some documents (e.g., bugdoc in tdf#85132) fail an assertion in debug builds, which allowed to find and fix this problem. Change-Id: I14cb0afd0c8d884f505efb921907cc8e86418da2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167965 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sfx2/sdi/sfxitems.sdi')
0 files changed, 0 insertions, 0 deletions