sc/source/core/data/documen3.cxx | 1 + sc/source/ui/view/gridwin.cxx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
New commits: commit 69a7ff1a3993fc3b77500f15d184a7b100a4bc01 Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Thu Oct 10 07:15:16 2024 +0400 Commit: Pranam Lashkari <lpra...@collabora.com> CommitDate: Tue Oct 15 16:00:00 2024 +0200 sc: make sure autofilter color area is caluculated problem: in autofilter popup entries were made before color area was correctly extended Change-Id: I38f27666109e99e22e16804c0fdf8df9840864f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174755 Reviewed-by: Henry Castro <hcas...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> (cherry picked from commit 8903ddff872d579b06bd3acc413d3d14f4284228) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174946 Reviewed-by: Pranam Lashkari <lpra...@collabora.com> diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index 600b7be77bbd..78a339f02f04 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -1575,6 +1575,7 @@ void ScDocument::GetFilterEntries( if (!pDBData) return; + pDBData->ExtendBackColorArea(*this); pDBData->ExtendDataArea(*this); SCTAB nAreaTab; SCCOL nStartCol; diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 51caa18026fa..781b4ba0b0a7 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -928,7 +928,6 @@ void ScGridWindow::LaunchAutoFilterMenu(SCCOL nCol, SCROW nRow) if (!pDBData) return; - pDBData->ExtendBackColorArea(rDoc); pData->mpData = pDBData; mpAutoFilterPopup->setExtendedData(std::move(pData));