[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Nov 8 17:49:05 PST 2011


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

New commits:
commit 696fb8582fe54d6cb5ec54f81680ddc281500b88
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Tue Nov 8 20:46:16 2011 -0500

    Fixed the wrong keyboard selection behavior in reference mode.
    
    This one is pretty bad, especially for those who like to select
    ranges using keyboard.

diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx
index 622a6e1..1dcb4e1 100644
--- a/sc/source/ui/view/tabview2.cxx
+++ b/sc/source/ui/view/tabview2.cxx
@@ -628,6 +628,8 @@ void ScTabView::GetAreaMoveEndPosition(SCsCOL nMovX, SCsROW nMovY, ScFollowMode
     {
         nNewX = aViewData.GetRefEndX();
         nNewY = aViewData.GetRefEndY();
+        nCurX = aViewData.GetRefStartX();
+        nCurY = aViewData.GetRefStartY();
     }
     else if (IsBlockMode())
     {


More information about the Libreoffice-commits mailing list