diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-06 14:33:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-07 08:27:26 +0200 |
commit | 3fbc3adefd0b2140ff7697cbc3d4b71ed92aa5ff (patch) | |
tree | 40adbe77397152afd9f35eaa6613d94fe7c31e5d /framework/inc | |
parent | 6fbbb8504a879815547681f7494153d4c1c35783 (diff) |
loplugin:mergeclasses
Change-Id: I1347e51ef727da81be0c7937cad6e3f5edbf15a8
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/uielement/dropdownboxtoolbarcontroller.hxx | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx b/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx index 956b53b13eff..eab137d5aff0 100644 --- a/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx +++ b/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx @@ -35,20 +35,7 @@ namespace framework class ListBoxControl; -class IListBoxListener -{ - public: - virtual void Select() = 0; - virtual void DoubleClick() = 0; - virtual void GetFocus() = 0; - virtual void LoseFocus() = 0; - virtual bool PreNotify( NotifyEvent& rNEvt ) = 0; - protected: - ~IListBoxListener() {} -}; - -class DropdownToolbarController : public IListBoxListener, - public ComplexToolbarController +class DropdownToolbarController : public ComplexToolbarController { public: @@ -63,12 +50,12 @@ class DropdownToolbarController : public IListBoxListener, // XComponent virtual void SAL_CALL dispose() throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - // IListBoxListener - virtual void Select() SAL_OVERRIDE; - virtual void DoubleClick() SAL_OVERRIDE; - virtual void GetFocus() SAL_OVERRIDE; - virtual void LoseFocus() SAL_OVERRIDE; - virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; + // called from ListBoxControl + void Select(); + void DoubleClick(); + void GetFocus(); + void LoseFocus(); + bool PreNotify( NotifyEvent& rNEvt ); protected: virtual void executeControlCommand( const ::com::sun::star::frame::ControlCommand& rControlCommand ) SAL_OVERRIDE; |