From 9a5e2d01c589392a4415667667d9a226c19f25ed Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Mon, 6 Feb 2017 11:51:14 +0900 Subject: framework: Retrieve shortcuts from document-specific configuration No known symptoms, but it seems like a typo when comparing with MenuBarManager::RetrieveShortcuts(). Change-Id: I83f6e5766f5e0a0e01f5fd4863772ad1d99c70d2 Reviewed-on: https://gerrit.libreoffice.org/33945 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- framework/source/uielement/newmenucontroller.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx index ce305fab61ee..b371e26515e4 100644 --- a/framework/source/uielement/newmenucontroller.cxx +++ b/framework/source/uielement/newmenucontroller.cxx @@ -245,7 +245,7 @@ void NewMenuController::setAccelerators( PopupMenu* pPopupMenu ) if ( m_xModuleAcceleratorManager.is() ) retrieveShortcutsFromConfiguration( xModuleAccelCfg, aSeq, aMenuShortCuts ); if ( m_xDocAcceleratorManager.is() ) - retrieveShortcutsFromConfiguration( xGlobalAccelCfg, aSeq, aMenuShortCuts ); + retrieveShortcutsFromConfiguration( xDocAccelCfg, aSeq, aMenuShortCuts ); const sal_uInt32 nCount2 = aIds.size(); for ( sal_uInt32 i = 0; i < nCount2; i++ ) -- cgit