summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-06 14:26:07 +0200
committerNoel Grandin <noel@peralex.com>2015-10-07 08:27:26 +0200
commitb981473658b4aecff544c1c1d9c25dc9b3a07b09 (patch)
treee60118980f2a20266d6f641d528127b21912ac43 /framework/inc
parent973961ae604a46e4badb5a355d539f5d3573c4eb (diff)
loplugin:mergeclasses
Change-Id: I93bb1b9de62d30960028b719ee7ec773358c5c0f
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/uielement/edittoolbarcontroller.hxx28
1 files changed, 7 insertions, 21 deletions
diff --git a/framework/inc/uielement/edittoolbarcontroller.hxx b/framework/inc/uielement/edittoolbarcontroller.hxx
index 0b8f9b6c90dc..8af5eeb93933 100644
--- a/framework/inc/uielement/edittoolbarcontroller.hxx
+++ b/framework/inc/uielement/edittoolbarcontroller.hxx
@@ -34,21 +34,7 @@ namespace framework
class EditControl;
-class IEditListener
-{
- public:
- virtual void Modify() = 0;
- virtual void KeyInput( const KeyEvent& rKEvt ) = 0;
- virtual void GetFocus() = 0;
- virtual void LoseFocus() = 0;
- virtual bool PreNotify( NotifyEvent& rNEvt ) = 0;
-
- protected:
- ~IEditListener() {}
-};
-
-class EditToolbarController : public IEditListener,
- public ComplexToolbarController
+class EditToolbarController : public ComplexToolbarController
{
public:
@@ -63,12 +49,12 @@ class EditToolbarController : public IEditListener,
// XComponent
virtual void SAL_CALL dispose() throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- // IEditListener
- virtual void Modify() SAL_OVERRIDE;
- virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
- virtual void GetFocus() SAL_OVERRIDE;
- virtual void LoseFocus() SAL_OVERRIDE;
- virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
+ // called from EditControl
+ void Modify();
+ void KeyInput( const KeyEvent& rKEvt );
+ void GetFocus();
+ void LoseFocus();
+ bool PreNotify( NotifyEvent& rNEvt );
protected:
virtual void executeControlCommand( const ::com::sun::star::frame::ControlCommand& rControlCommand ) SAL_OVERRIDE;