diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-06-10 00:33:09 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-06-10 08:12:06 +0200 |
commit | 317dc8569723d434fe4175a2b665b84fd15f6f99 (patch) | |
tree | e2f2fa86359478eab22d4f22e1966bc89c0920dd /vcl/source/control/DropdownBox.cxx | |
parent | 1cbdbff2f419d0729ae8772a7e509cb224b6a46d (diff) |
tdf#135346 clear page row map to avoid invalid "hidden" flags
With the print range cache surviving a longer time, we can get to
a state where we reuse the page row map (m_xPageRows) that had
older "hidden rows" flags still set, but they aren't valid for
our new recalculated ranges. The result for this is that in the
bug document, the print preview is empty (as hidden flags for the
rows was kept but not valid anymore).
We don't really benefit from keeping this map, so we can just
clear it when we need to recalculate the print ranges.
Change-Id: I1f8de889d6f006e700c6f21ef5bfa52a36bcdfc9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135567
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/source/control/DropdownBox.cxx')
0 files changed, 0 insertions, 0 deletions