[Libreoffice-commits] core.git: sc/source
Tünde Tóth (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 20 12:32:36 UTC 2021
sc/source/ui/docshell/dbdocfun.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 15684e5d595289e0a94efd80bbe203ca133845f2
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 14:31:59 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>
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