[Libreoffice-commits] .: Branch 'libreoffice-3-3' - sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Fri Feb 18 08:00:08 PST 2011


 sc/source/ui/view/tabview2.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4f5dedef46bb48b19f063536b3c55cd8e46a9d41
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Thu Feb 17 15:30:42 2011 -0500

    Properly update column and row header selections. (fdo#34383)
    
    When making range selection by mouse, Calc wouldn't highlight the
    new range in the column and row headers.  It was because we weren't
    calling ScTabView::SelectionChanged() when the selection range
    is updated.  This SelectionChanged() call then puts in queue a
    re-paint request for column and row headers.

diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx
index a42cb46..b9cb8be 100644
--- a/sc/source/ui/view/tabview2.cxx
+++ b/sc/source/ui/view/tabview2.cxx
@@ -394,6 +394,7 @@ void ScTabView::MarkCursor( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ,
         }
 #endif
         UpdateSelectionOverlay();
+        SelectionChanged();
 
         nOldCurX = nCurX;
         nOldCurY = nCurY;


More information about the Libreoffice-commits mailing list