loplugin:unnecessaryoverride

Change-Id: Ifcdbf71a2added62b325e1a6a848973320154435
This commit is contained in:
Caolán McNamara
2016-11-13 20:52:20 +00:00
parent fd90e40588
commit fef32a42c8
2 changed files with 2 additions and 13 deletions

View File

@@ -212,15 +212,6 @@ bool FuConstruct::MouseButtonUp(const MouseEvent& rMEvt)
return bReturn; 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() void FuConstruct::Activate()
{ {
mpView->SetEditMode(SdrViewEditMode::Create); mpView->SetEditMode(SdrViewEditMode::Create);

View File

@@ -28,13 +28,11 @@ class SfxItemSet;
namespace sd { namespace sd {
class FuConstruct class FuConstruct : public FuDraw
: public FuDraw
{ {
public: public:
// Mouse- & Key-Events // Mouse Events
virtual bool KeyInput(const KeyEvent& rKEvt) override;
virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseMove(const MouseEvent& rMEvt) override;
virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override;
virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override;