diff options
author | Tünde Tóth <toth.tunde@nisz.hu> | 2021-07-06 13:58:13 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-07-20 14:31:59 +0200 |
commit | 15684e5d595289e0a94efd80bbe203ca133845f2 (patch) | |
tree | 782a56f8e605c5fb0b8ec7be2b96547889c9c67c /sc | |
parent | 732b08b22eee2682351a9295be29188852fb0489 (diff) |
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@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/dbdocfun.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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); |