summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/backingwindow.cxx5
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 );
}