diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-06-27 14:28:58 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-07-02 15:59:45 +0200 |
commit | 523f76ff8ce0f2b5a0d7653bc1066a5522dedd95 (patch) | |
tree | ffcd7d141c2441557d205c10f7f9f09e99e2f84b /icon-themes/breeze_dark/xmlsecurity | |
parent | b1e29e67397d5e94ef23b94a9bceb879c03b027a (diff) |
sw: avoid divide by zero in SwTextGridPage::CharorLineChangedHdl
See https://crashreport.libreoffice.org/stats/signature/SwTextGridPage::CharorLineChangedHdl(weld::SpinButton%20&)
disable the offending widget if the value is zero.
crash reproducible under gen with CJK features enabled by: format, page
style, text grid, grid (lines and characters), max base text size of
1000 and then click in "characters per line" and then click in "lines
per page".
Change-Id: Ic0f8131955ab01412dd54bdd5d3bffe518938fb5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136470
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'icon-themes/breeze_dark/xmlsecurity')
0 files changed, 0 insertions, 0 deletions