summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh4.cxx
diff options
context:
space:
mode:
authorAbhilash Singh <abhilash300singh@gmail.com>2016-10-21 02:14:07 +0530
committerEike Rathke <erack@redhat.com>2016-11-11 19:35:45 +0000
commit453de3473cf6f383c71466a1ed15e28b844ed7e5 (patch)
treeb6f8c82c9f4136667d16e7a1cc827f1be01a7e4c /sc/source/ui/view/tabvwsh4.cxx
parent553cfda502a1516673233e409f91372766da6c4d (diff)
tdf#46200 Use the Scroll Lock key as a toggling lock key like Excel
Change-Id: I153522a90674f3f3c4db4ff300ef5cf4075704e3 Reviewed-on: https://gerrit.libreoffice.org/30117 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/ui/view/tabvwsh4.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index 2f27b5ee769b..f3b4666653f1 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -776,7 +776,7 @@ void ScTabViewShell::SetCurSubShell(ObjectSelectionType eOST, bool bForce)
if(!pCellShell) // is anyway always used
{
- pCellShell = new ScCellShell( &GetViewData() );
+ pCellShell = new ScCellShell( &GetViewData(), GetFrameWin() );
pCellShell->SetRepeatTarget( &aTarget );
}