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

New commits:
commit 570261954089695377cd6910b95fd3b6ee864062
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 14:43:06 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/+/174781
    Tested-by: Jenkins
    Reviewed-by: Pranam Lashkari <lpra...@collabora.com>

diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index 6007ecf6d78f..1ef2b40530d5 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -1569,6 +1569,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 d7848230bf8e..c2e21c2aebbb 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1015,7 +1015,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