sc/source/ui/view/gridwin4.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit b05905dc2da404fd307b4589ca2df424b1bb4d65
Author:     Sahil Gautam <gautamsahil1...@gmail.com>
AuthorDate: Sat Nov 18 20:43:07 2023 +0530
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sun Nov 19 13:44:36 2023 +0100

    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.kagan...@collabora.com>
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

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());
 }
 
 

Reply via email to