[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - sc/source

Caolán McNamara caolanm at redhat.com
Fri Apr 13 15:04:35 UTC 2018


 sc/source/ui/view/select.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 14b042d86e5d3e20dbc73efe08b831810bd52711
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 10 16:55:50 2018 +0100

    Resolves: tdf#116813 Height/Width swapped
    
    Change-Id: I9b41a4b65fda895ed73fa346fb0b8e13df010706
    Reviewed-on: https://gerrit.libreoffice.org/52693
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx
index fcfe6eddf1c5..b8dd689eb640 100644
--- a/sc/source/ui/view/select.cxx
+++ b/sc/source/ui/view/select.cxx
@@ -329,8 +329,8 @@ bool 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
     {


More information about the Libreoffice-commits mailing list