diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-07-26 16:31:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-07-27 09:37:08 +0200 |
commit | ba0c39064fd97816774f4c06ca84c92c4a137450 (patch) | |
tree | 0c41aa0d7af45fde159fca242c43979c10303f65 /sc/inc/recursionhelper.hxx | |
parent | 89d3735e05b98223a49a387421386fd736fc3de6 (diff) |
Invalidate less on entering/leaving header/footer
Instead of invalidating the entire window, just invalidate the
parts that need to change.
Invalidate a sequence of Rectangles rather than bundle them
into a vcl::Region. Currently Window::Invalidate(const vcl::Region&...
does a LogicInvalidate(rRegion.GetBoundRect()) so get a mega rectangle
that covers everthing which is the opposite of what I want to get here.
It might be worth using GetRegionRectangles there.
Change-Id: Idc3f5f7d19dd57da725072ec4161d932c0c26902
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154973
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/inc/recursionhelper.hxx')
0 files changed, 0 insertions, 0 deletions