summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-08 20:46:16 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-08 20:46:16 -0500
commit696fb8582fe54d6cb5ec54f81680ddc281500b88 (patch)
tree2a0f779aa9435e4488b40a0c363351ccd646ad8d
parent5d1a99169253b084d676234fa153f2acecc5d638 (diff)
Fixed the wrong keyboard selection behavior in reference mode.
This one is pretty bad, especially for those who like to select ranges using keyboard.
-rw-r--r--sc/source/ui/view/tabview2.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx
index 622a6e112ee7..1dcb4e1a6274 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())
{