sc/source/core/data/documen3.cxx |    1 +
 sc/source/ui/view/gridwin.cxx    |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8903ddff872d579b06bd3acc413d3d14f4284228
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Thu Oct 10 07:15:16 2024 +0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Thu Oct 10 14:34:21 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>

diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index aeb097fe61ee..800576dbf592 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -1566,6 +1566,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 4cf14941a547..09ecd5d28fc7 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1014,7 +1014,6 @@ void ScGridWindow::LaunchAutoFilterMenu(SCCOL nCol, SCROW 
nRow)
     if (!pDBData)
         return;
 
-    pDBData->ExtendBackColorArea(rDoc);
     pData->mpData = pDBData;
     mpAutoFilterPopup->setExtendedData(std::move(pData));
 

Reply via email to