Header columns can disappear with filtered data in pivot tables
commit689a2e36ebcb7f2184210dcd0abee10cd9fac7d3
authorluigiiucci <luigi.iucci@collabora.com>
Wed, 17 May 2023 09:02:37 +0000 (17 11:02 +0200)
committerAron Budea <aron.budea@collabora.com>
Thu, 6 Jul 2023 21:26:52 +0000 (6 23:26 +0200)
tree87486111574d2228cee286ac0f558a6f3515a033
parentc7c41372a5fe0743042a3664ec52fe2d41c39244
Header columns can disappear with filtered data in pivot tables

When we set on a pivot table a filter that filters all the rows,
the pivot table showed only the first header columns and computed
column, but all the columns headers should still be shown so we can
adjust the filter for the column. This fixes this issue.

Also add more debug output and prevent a crash when running pivot
table tests.

Change-Id: I30b4ee72cf8436c4522ab4ba0781462b214816dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151871
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 3551d18404cb19cdaa8edb170a549f5c5405d0cb)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153686
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit 3a51b402f243eb32b544c16813f682617d88c0b9)
sc/qa/unit/helper/qahelper.cxx
sc/source/core/data/dpoutput.cxx