summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/uielement/addonstoolbarmanager.hxx2
-rw-r--r--framework/inc/uielement/toolbarmanager.hxx2
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);