diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-13 20:52:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-13 20:52:41 +0000 |
commit | fef32a42c8bd8fd640d6c9cdc2f839fb43ad490c (patch) | |
tree | 7caa7d28fd6a68d10f5ac4192dc4a546f4bf1c7a /sd/source | |
parent | fd90e405888cb566c8064497ee04d31360480330 (diff) |
loplugin:unnecessaryoverride
Change-Id: Ifcdbf71a2added62b325e1a6a848973320154435
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/func/fuconstr.cxx | 9 | ||||
-rw-r--r-- | sd/source/ui/inc/fuconstr.hxx | 6 |
2 files changed, 2 insertions, 13 deletions
diff --git a/sd/source/ui/func/fuconstr.cxx b/sd/source/ui/func/fuconstr.cxx index 2937fd2eadd5..1ead60c67fe9 100644 --- a/sd/source/ui/func/fuconstr.cxx +++ b/sd/source/ui/func/fuconstr.cxx @@ -212,15 +212,6 @@ bool FuConstruct::MouseButtonUp(const MouseEvent& rMEvt) return bReturn; } -/** - * Process keyboard input - * @returns true if a KeyEvent is being processed, false otherwise - */ -bool FuConstruct::KeyInput(const KeyEvent& rKEvt) -{ - return FuDraw::KeyInput(rKEvt); -} - void FuConstruct::Activate() { mpView->SetEditMode(SdrViewEditMode::Create); diff --git a/sd/source/ui/inc/fuconstr.hxx b/sd/source/ui/inc/fuconstr.hxx index 6fe721937465..91cb1e7e0c1f 100644 --- a/sd/source/ui/inc/fuconstr.hxx +++ b/sd/source/ui/inc/fuconstr.hxx @@ -28,13 +28,11 @@ class SfxItemSet; namespace sd { -class FuConstruct - : public FuDraw +class FuConstruct : public FuDraw { public: - // Mouse- & Key-Events - virtual bool KeyInput(const KeyEvent& rKEvt) override; + // Mouse Events virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; |