[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 4 18:36:20 UTC 2021
sfx2/source/dialog/backingwindow.cxx | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit cc4951d4042b7dd7635ec77c972350b59d609afc
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Aug 4 17:34:09 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Aug 4 20:35:47 2021 +0200
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 at redhat.com>
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 );
}
More information about the Libreoffice-commits
mailing list