[Libreoffice-commits] core.git: Branch 'distro/nisz/libreoffice-7-1' - sc/source

Tünde Tóth (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 1 13:46:25 UTC 2021


 sc/source/ui/docshell/dbdocfun.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit f93050a3703d03c22c40cad202c36de14525f920
Author:     Tünde Tóth <toth.tunde at nisz.hu>
AuthorDate: Tue Jul 6 13:58:13 2021 +0200
Commit:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
CommitDate: Wed Sep 1 15:45:52 2021 +0200

    tdf#123598 sc UI: don't show autofilter dropdown arrows
    
    on the result area when the "Copy results to:" option is true.
    
    Change-Id: I3da4a1098d8c7c0be6604451b7485312043c5ede
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118484
    Tested-by: László Németh <nemeth at numbertext.org>
    Reviewed-by: László Németh <nemeth at numbertext.org>
    (cherry picked from commit 15684e5d595289e0a94efd80bbe203ca133845f2)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119188
    Tested-by: Jenkins
    (cherry picked from commit aab72a3f9a8d51403428098c7a4324b41236c5e6)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121430
    Tested-by: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
    Reviewed-by: Gabor Kelemen <kelemen.gabor2 at nisz.hu>

diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index f18973541fc5..13072e29bca9 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -966,6 +966,10 @@ bool ScDBDocFunc::Query( SCTAB nTab, const ScQueryParam& rQueryParam,
         }
         if (bDoSize)
             nEndY = rDoc.MaxRow();
+
+        // remove AutoFilter button flags
+        rDocShell.DBAreaDeleted(nDestTab, aLocalParam.nCol1, aLocalParam.nRow1, aLocalParam.nCol2);
+
         rDocShell.PostPaint(
             ScRange(aLocalParam.nCol1, aLocalParam.nRow1, nDestTab, nEndX, nEndY, nDestTab),
             PaintPartFlags::Grid);


More information about the Libreoffice-commits mailing list