svx: fix one more EXCEPTION_INT_DIVIDE_BY_ZERO
commit69d213526f3c1a6c08c5be8c35a9f8bcc02bf178
authorXisco Fauli <xiscofauli@libreoffice.org>
Tue, 24 May 2022 19:49:20 +0000 (24 21:49 +0200)
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Wed, 1 Jun 2022 20:45:18 +0000 (1 22:45 +0200)
treef969800ffe0e79128088f87342c3359e42939121
parentb44c53bd1c39aacc58987c9f77a1e3d0638da0fc
svx: fix one more EXCEPTION_INT_DIVIDE_BY_ZERO

See https://crashreport.libreoffice.org/stats/signature/SvxShowCharSet::PixelToMapIndex(Point%20const%20&)

Change-Id: Ied5698fd47220fae54d72be263c3eeed5fb77911
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134899
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 663abd7162c29d289f84781eac56ca2c28b3a356)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134909
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
svx/source/dialog/charmap.cxx