diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-06 10:17:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-06 12:54:22 +0200 |
commit | 1e64fe1364dc4aed8d46671e5b7160244b77db76 (patch) | |
tree | f742584211fee60328fe25f7ea5056c660ae851b /framework/inc | |
parent | 1a5f1e82a96b5c8c9d523fd58c330498936cd2fe (diff) |
Use typed ToolBox::SetCommandHdl Link
Change-Id: Ieee142ddebb288037647fb77bac6f11b9827c4a8
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/uielement/addonstoolbarmanager.hxx | 2 | ||||
-rw-r--r-- | framework/inc/uielement/toolbarmanager.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/inc/uielement/addonstoolbarmanager.hxx b/framework/inc/uielement/addonstoolbarmanager.hxx index 542a366f48dc..234df21ae560 100644 --- a/framework/inc/uielement/addonstoolbarmanager.hxx +++ b/framework/inc/uielement/addonstoolbarmanager.hxx @@ -60,7 +60,7 @@ class AddonsToolBarManager : public ToolBarManager protected: DECL_LINK_TYPED(Click, ToolBox *, void); DECL_LINK_TYPED(DoubleClick, ToolBox *, void); - DECL_LINK(Command, void *); + DECL_LINK_TYPED(Command, CommandEvent const *, void); DECL_LINK_TYPED(Select, ToolBox *, void); DECL_LINK_TYPED(Activate, ToolBox *, void); DECL_LINK_TYPED(Deactivate, ToolBox *, void); diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index 7e1ae3b7c8aa..0bc40ca1d7ab 100644 --- a/framework/inc/uielement/toolbarmanager.hxx +++ b/framework/inc/uielement/toolbarmanager.hxx @@ -126,7 +126,7 @@ class ToolBarManager : public ToolbarManager_Base typedef std::vector< ControllerParams > ControllerParamsVector; protected: - DECL_LINK( Command, CommandEvent * ); + DECL_LINK_TYPED( Command, CommandEvent const *, void ); PopupMenu * GetToolBarCustomMenu(ToolBox* pToolBar); DECL_LINK_TYPED(Click, ToolBox *, void); DECL_LINK_TYPED(DropdownClick, ToolBox *, void); |