sc/source/ui/view/tabview3.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit cd6d3a3d434e39c250418ed5547ff3af1b0f7482
Author:     Tünde Tóth <toth.tu...@nisz.hu>
AuthorDate: Mon Feb 22 16:49:19 2021 +0100
Commit:     Balazs Varga <varga.bala...@nisz.hu>
CommitDate: Wed Feb 24 10:51:35 2021 +0100

    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.bala...@nisz.hu>
    Reviewed-by: Balazs Varga <varga.bala...@nisz.hu>

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++)
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to