diff options
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/Accelerators.xcu | 22 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 12 | ||||
-rw-r--r-- | sc/source/ui/src/globstr.src | 2 |
3 files changed, 9 insertions, 27 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu index dd64bdba7dc2..00b234d7dd83 100644 --- a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu +++ b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu @@ -87,7 +87,7 @@ <value xml:lang="en-US">.uno:MacroDialog</value> </prop> </node> - <node oor:name="F4" oor:op="replace"> + <node oor:name="F4_SHIFT_MOD1" oor:op="replace"> <prop oor:name="Command"> <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ViewDataSourceBrowser</value> @@ -347,7 +347,7 @@ <value xml:lang="en-US">.uno:Delete</value> </prop> </node> - <node oor:name="F4" oor:op="replace"> + <node oor:name="F4_SHIFT_MOD1" oor:op="replace"> <prop oor:name="Command"> <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ViewDataSourceBrowser</value> @@ -768,24 +768,6 @@ <value xml:lang="en-US">.uno:ToggleRelative</value> </prop> </node> - <node oor:name="F4_SHIFT" oor:op="replace"> - <prop oor:name="Command"> - <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:ToggleRelative</value> - </prop> - </node> - <node oor:name="F4_SHIFT_MOD1" oor:op="replace"> - <prop oor:name="Command"> - <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:ViewDataSourceBrowser</value> - </prop> - </node> - <node oor:name="F4_SHIFT_MOD3" oor:op="replace"> - <prop oor:name="Command"> - <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:ViewDataSourceBrowser</value> - </prop> - </node> <node oor:name="F5" oor:op="replace"> <prop oor:name="Command"> <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 09f87e6f441a..e216215a1534 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -3008,11 +3008,11 @@ void ScDocShell::ResetKeyBindings( ScOptionsUtil::KeyBindingType eType ) aCtrlShiftF4.Modifiers = awt::KeyModifier::MOD1 | awt::KeyModifier::SHIFT; aKeys.push_back(&aCtrlShiftF4); - // CTRL+SHIFT+F4 Mac - awt::KeyEvent aCtrlShiftF4Mac; - aCtrlShiftF4Mac.KeyCode = awt::Key::F4; - aCtrlShiftF4Mac.Modifiers = awt::KeyModifier::MOD3 | awt::KeyModifier::SHIFT; - aKeys.push_back(&aCtrlShiftF4Mac); + // SHIFT+F4 + awt::KeyEvent aShiftF4; + aShiftF4.KeyCode = awt::Key::F4; + aShiftF4.Modifiers = awt::KeyModifier::SHIFT; + aKeys.push_back(&aShiftF4); // Remove all involved keys first, because swapping commands don't work // well without doing this. @@ -3028,13 +3028,13 @@ void ScDocShell::ResetKeyBindings( ScOptionsUtil::KeyBindingType eType ) xScAccel->setKeyEvent(aAltDown, ".uno:DataSelect"); xScAccel->setKeyEvent(aF4, ".uno:ToggleRelative"); xScAccel->setKeyEvent(aCtrlShiftF4, ".uno:ViewDataSourceBrowser"); - xScAccel->setKeyEvent(aCtrlShiftF4Mac, ".uno:ViewDataSourceBrowser"); break; case ScOptionsUtil::KEY_OOO_LEGACY: xScAccel->setKeyEvent(aDelete, ".uno:Delete"); xScAccel->setKeyEvent(aBackspace, ".uno:ClearContents"); xScAccel->setKeyEvent(aCtrlD, ".uno:DataSelect"); xScAccel->setKeyEvent(aF4, ".uno:ViewDataSourceBrowser"); + xScAccel->setKeyEvent(aShiftF4, ".uno:ToggleRelative"); break; default: ; diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src index b1d72d36992e..01fa1e4a597d 100644 --- a/sc/source/ui/src/globstr.src +++ b/sc/source/ui/src/globstr.src @@ -1391,7 +1391,7 @@ Resource RID_GLOBSTR }; String STR_ERR_NOREF { - Text [ en-US ] = "No references found." ; + Text [ en-US ] = "No cell references are found in the selected cells." ; }; String STR_ERR_LINKOVERLAP { |