summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/view/cellsh4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh4.cxx b/sc/source/ui/view/cellsh4.cxx
index 881593ee9019..5932a7dba441 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;