summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r--sc/source/ui/docshell/docsh.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index da59b28504cc..11c54390e412 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -2952,8 +2952,7 @@ void ScDocShell::ResetKeyBindings( ScOptionsUtil::KeyBindingType eType )
return;
// shortcut manager
- Reference<XAcceleratorConfiguration> xScAccel(
- xConfigMgr->getShortCutManager(), UNO_QUERY);
+ Reference<XAcceleratorConfiguration> xScAccel = xConfigMgr->getShortCutManager();
if (!xScAccel.is())
return;