diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-04 17:34:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-04 20:35:47 +0200 |
commit | cc4951d4042b7dd7635ec77c972350b59d609afc (patch) | |
tree | f4f1f8327fff3067d8c1c38b65029ff307ecb102 /sfx2 | |
parent | af0437d7b1d9cc5a00b7d01a6510e5ba40ca1a12 (diff) |
AutoAccel is only true for gtk and there BackingWindow doesn't use vcl widgets
so we can remove Accelerator::ToggleMnemonicsOnHierarchy here without
any effect
Change-Id: Ie7e8373c110216294dc4087d6ca1913bf8b25404
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120007
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index f58bf46329b0..3a95cef10e51 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -18,7 +18,6 @@ */ #include "backingwindow.hxx" -#include <vcl/accel.hxx> #include <vcl/event.hxx> #include <vcl/help.hxx> #include <vcl/ptrstyle.hxx> @@ -459,10 +458,6 @@ bool BackingWindow::PreNotify(NotifyEvent& rNEvt) if ((aCommand != "vnd.sun.star.findbar:FocusToFindbar") && pEvt && mpAccExec->execute(rKeyCode)) return true; } - else if (rNEvt.GetType() == MouseNotifyEvent::COMMAND) - { - Accelerator::ToggleMnemonicsOnHierarchy(*rNEvt.GetCommandEvent(), this); - } return InterimItemWindow::PreNotify( rNEvt ); } |