[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Sat Nov 12 14:48:23 UTC 2016


 sc/source/ui/view/cellsh4.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d38459355e3e845ad8db3c515536267923afe3ec
Author: Eike Rathke <erack at redhat.com>
Date:   Sat Nov 12 15:44:02 2016 +0100

    accidentally kept always scroll test enabled.. tdf#46200 follow-up
    
    When ironing out the nitpicks and committing
    453de3473cf6f383c71466a1ed15e28b844ed7e5 the stupid reviewer forgot to
    revert the bScrollLock=true so now the scrollock mode was always on.
    
    Change-Id: I16b00266044a9ec9c839ad05e688801a7f3c7158

diff --git a/sc/source/ui/view/cellsh4.cxx b/sc/source/ui/view/cellsh4.cxx
index 881593e..5932a7d 100644
--- a/sc/source/ui/view/cellsh4.cxx
+++ b/sc/source/ui/view/cellsh4.cxx
@@ -127,7 +127,7 @@ void ScCellShell::ExecuteCursor( SfxRequest& rReq )
 
     // If ScrollLock key is active, cell cursor stays on the current cell while
     // scrolling the grid.
-    bool bScrollLock = true;
+    bool bScrollLock = false;
     KeyIndicatorState eState = GetFrameWin()->GetIndicatorState();
     if (eState & KeyIndicatorState::SCROLLLOCK)
         bScrollLock = true;


More information about the Libreoffice-commits mailing list