summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-29 11:57:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-11-29 21:21:12 +0100
commit88b69059c34a6ff85f1e61d9bc8906bfd8e432aa (patch)
tree021b9bc545e04706ff30b28903343cf643a02cb9 /framework/inc
parent67df0664609336faf205f80fdb5115d9edb985c3 (diff)
use more XPopupMenu methods over PopupMenu ones
Change-Id: I54acdcb82b90d363e48543de99c75adea8fceb2a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126047 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/uielement/newmenucontroller.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/inc/uielement/newmenucontroller.hxx b/framework/inc/uielement/newmenucontroller.hxx
index 2c745cc2b64d..57e58239fc19 100644
--- a/framework/inc/uielement/newmenucontroller.hxx
+++ b/framework/inc/uielement/newmenucontroller.hxx
@@ -60,8 +60,8 @@ namespace framework
void retrieveShortcutsFromConfiguration( const css::uno::Reference< css::ui::XAcceleratorConfiguration >& rAccelCfg,
const css::uno::Sequence< OUString >& rCommands,
std::vector< vcl::KeyCode >& aMenuShortCuts );
- void setAccelerators( PopupMenu* pPopupMenu );
- void determineAndSetNewDocAccel( PopupMenu* pPopupMenu, const vcl::KeyCode& rKeyCode );
+ void setAccelerators();
+ void determineAndSetNewDocAccel(const css::awt::KeyEvent& rKeyCode);
void setMenuImages( PopupMenu* pPopupMenu, bool bSetImages );
private: