[Libreoffice-commits] core.git: Branch 'distro/nisz/libreoffice-7-0' - sc/source

Tünde Tóth (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 22 11:41:29 UTC 2021


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

New commits:
commit 9f4a3e9e161415d90661988f0215f0a467e115a4
Author:     Tünde Tóth <toth.tunde at nisz.hu>
AuthorDate: Mon Feb 22 16:49:19 2021 +0100
Commit:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
CommitDate: Thu Apr 22 13:40:35 2021 +0200

    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 at nisz.hu>
    Reviewed-by: Balazs Varga <varga.balazs3 at nisz.hu>
    (cherry picked from commit cd6d3a3d434e39c250418ed5547ff3af1b0f7482)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114493
    Tested-by: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
    Reviewed-by: Gabor Kelemen <kelemen.gabor2 at nisz.hu>

diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index cc955f408503..cec979171cd6 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -184,7 +184,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++)
     {


More information about the Libreoffice-commits mailing list