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

Tünde Tóth (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 20 14:00:43 UTC 2021


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

New commits:
commit aab72a3f9a8d51403428098c7a4324b41236c5e6
Author:     Tünde Tóth <toth.tunde at nisz.hu>
AuthorDate: Tue Jul 6 13:58:13 2021 +0200
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Tue Jul 20 16:00:05 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

diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index a02d26bb0659..3cdee27ffb1d 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -987,6 +987,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