summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-27 14:52:39 +0200
committerNoel Grandin <noel@peralex.com>2013-05-28 08:10:23 +0200
commit8f3cec9d7a50f33c7be5191656720e463712dd83 (patch)
treeffc45e8944ff407fef79f6997ea610877d7f2e2c /sc
parentaff5c4d76b7a876e9ce9e0b70bb52864dd65be24 (diff)
fdo#46808, Convert ui:*AcceleratorConfiguration to new style
The services already existed, they just needed IDL files. API CHANGE: The return type of XUIConfigurationManager#getShortcutManager() is now XAcceleratorConfiguration instead of XInterface. This should not be a problem because XUIConfigurationManager is unpublished and the client code was relying on the service returning that type. Change-Id: I399fe35de3394b02a4166b75eb7ff93b28be8bef
Diffstat (limited to 'sc')
-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;