summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSahil Gautam <gautamsahil1947@gmail.com>2023-11-18 20:43:07 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2023-11-19 13:44:36 +0100
commitb05905dc2da404fd307b4589ca2df424b1bb4d65 (patch)
tree14f45fc4c81863e1e9ba8e2fce1431955931f9ab
parent8158f016ea094ad48cdf11cd8ae46cd282af25d2 (diff)
tdf#33201 Make Row/column highlight usable
Row/column highlight shouldn't be updated using ScGridWindow::DrawContent because it would call for highlight refresh even when typing in a cell, leading to the text being hidden under the highlight. Change-Id: Ic7cc71bc94629c71e6efdf677b7f34d6c4d0cc93 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159636 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--sc/source/ui/view/gridwin4.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 0aede8ad69f8..3639e8287698 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -1411,10 +1411,6 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
if (bPage && bInitialPageBreaks)
SetupInitialPageBreaks(rDoc, nTab);
-
- // redraw highlighting as well
- ScAddress aCell = getViewData().GetCurPos();
- getViewData().GetViewShell()->SetCursor(aCell.Col(), aCell.Row());
}