diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-03-10 18:00:28 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-03-11 08:19:37 +0100 |
commit | cf95c0024ad9312ebdda382aba8f3cc201a0fdb2 (patch) | |
tree | c5c8d680d7ad1d4b3e10c02c9d907c7b18b87131 /include/svx/legacyitem.hxx | |
parent | eeffa4b2a85751fd0153503520f6fc49b3510d86 (diff) |
don't bother drawing zero-width cells
If a document has most columns hidden, then they'd be "drawn"
anyway, since ScGridWindow::Draw() calls ExtendHidden(), this appears
to be needed in order to drawn properly background after the last
cell. So at least try avoid zero-sized draw operations which
may add up enough to be noticeable with 16k columns
Change-Id: I631e3be7467f8ea2dbfb824e647f900a7573da61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131326
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include/svx/legacyitem.hxx')
0 files changed, 0 insertions, 0 deletions