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

New commits:
commit aab72a3f9a8d51403428098c7a4324b41236c5e6
Author:     Tünde Tóth <toth.tu...@nisz.hu>
AuthorDate: Tue Jul 6 13:58:13 2021 +0200
Commit:     László Németh <nem...@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 <nem...@numbertext.org>
    Reviewed-by: László Németh <nem...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to