diff options
author | Tünde Tóth <toth.tunde@nisz.hu> | 2021-02-22 16:49:19 +0100 |
---|---|---|
committer | Balazs Varga <varga.balazs3@nisz.hu> | 2021-02-24 10:51:35 +0100 |
commit | cd6d3a3d434e39c250418ed5547ff3af1b0f7482 (patch) | |
tree | 4318b3b88451d4df97513f23e8887eac84c331bb | |
parent | d03f4f5838093013ddb201e352f0cb7aaaa26453 (diff) |
tdf#140599 calc UI: fix row and column highlight
The row and column headers lost their highlighting
when selection moved over a filtered row.
Change-Id: Ic416a6183710bbc84fe47a8b2de32ca86bafc11f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111371
Tested-by: Jenkins
Tested-by: Balazs Varga <varga.balazs3@nisz.hu>
Reviewed-by: Balazs Varga <varga.balazs3@nisz.hu>
-rw-r--r-- | sc/source/ui/view/tabview3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx index 98b50f763ffd..9ba95c3b6e97 100644 --- a/sc/source/ui/view/tabview3.cxx +++ b/sc/source/ui/view/tabview3.cxx @@ -185,7 +185,8 @@ void ScTabView::UpdateAutoFillMark(bool bFromPaste) { // single selection or cursor ScRange aMarkRange; - bool bMarked = (aViewData.GetSimpleArea( aMarkRange ) == SC_MARK_SIMPLE); + ScMarkType eMarkType = aViewData.GetSimpleArea(aMarkRange); + bool bMarked = eMarkType == SC_MARK_SIMPLE || eMarkType == SC_MARK_SIMPLE_FILTERED; for (sal_uInt16 i = 0; i < 4; i++) { |