[Libreoffice-commits] core.git: Branch 'distro/nisz/libreoffice-7-1' - sc/source
Tünde Tóth (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jun 28 15:15:22 UTC 2021
sc/source/ui/view/tabview3.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 76e4e8c07188e85020d301c4997a5d5bf1d3e510
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: Mon Jun 28 17:14:49 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/+/117988
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 bdb78e9c2e98..22c1b768ec11 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -187,7 +187,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