[Libreoffice-commits] core.git: sd/source
Caolán McNamara
caolanm at redhat.com
Sun Nov 13 20:53:37 UTC 2016
sd/source/ui/func/fuconstr.cxx | 9 ---------
sd/source/ui/inc/fuconstr.hxx | 6 ++----
2 files changed, 2 insertions(+), 13 deletions(-)
New commits:
commit fef32a42c8bd8fd640d6c9cdc2f839fb43ad490c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Nov 13 20:52:20 2016 +0000
loplugin:unnecessaryoverride
Change-Id: Ifcdbf71a2added62b325e1a6a848973320154435
diff --git a/sd/source/ui/func/fuconstr.cxx b/sd/source/ui/func/fuconstr.cxx
index 2937fd2..1ead60c 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 6fe7219..91cb1e7 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;
More information about the Libreoffice-commits
mailing list