summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-10 16:55:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-10 21:49:52 +0200
commite43d13b61181fbd47001faa47b178cda69e97890 (patch)
tree649f381744a0c3d039ef2a4bcda9249dc8f84743
parentaece54a415e5e35d6c5f5cfd1f6d8b3af594d272 (diff)
Resolves: tdf#116813 Height/Width swapped
Change-Id: I9b41a4b65fda895ed73fa346fb0b8e13df010706 Reviewed-on: https://gerrit.libreoffice.org/52688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/ui/view/select.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx
index 781843bffeae..d15db4c3e5b0 100644
--- a/sc/source/ui/view/select.cxx
+++ b/sc/source/ui/view/select.cxx
@@ -329,8 +329,8 @@ void ScViewFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bDon
// above a neighbour cell
if (bFillingSelection)
{
- bBottomScroll = aEffPos.X() >= aWinSize.Height();
- bRightScroll = aEffPos.Y() >= aWinSize.Width();
+ bBottomScroll = aEffPos.Y() >= aWinSize.Height();
+ bRightScroll = aEffPos.X() >= aWinSize.Width();
}
else
{