sc/source/ui/view/cellsh2.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 06135b1102d28ae1c2d95e52504e824a9847bf12
Author:     Andreas Heinisch <[email protected]>
AuthorDate: Wed Jun 18 22:38:19 2025 +0200
Commit:     Andreas Heinisch <[email protected]>
CommitDate: Thu Jun 19 13:00:59 2025 +0200

    tdf#117346 - Show current data range of the filter without selection
    
    After resetting the filter, show current data range of the filter with
    selection. This reset also the filter button.
    
    Change-Id: I3885e3d21ce3849abe4786621d0fc391b29f8b71
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186695
    Tested-by: Jenkins
    Reviewed-by: Andreas Heinisch <[email protected]>

diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index ee2812608bd2..a8e494abeeae 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -672,7 +672,8 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
         case SID_UNFILTER:
             {
                 ScQueryParam aParam;
-                ScDBData*    pDBData = pTabViewShell->GetDBData();
+                // tdf#117346 - show current data range of the filter with 
selection
+                ScDBData* pDBData = pTabViewShell->GetDBData(true, SC_DB_OLD);
 
                 pDBData->GetQueryParam( aParam );
                 SCSIZE nEC = aParam.GetEntryCount();

Reply via email to