summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-05 23:35:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-06 08:20:56 +0200
commitc8fdfc39ebf89e10bc01bf9569b29b5b4c85d40d (patch)
tree73e3178f1c022413dd81b70f1576ac3b388ac8b2 /framework/inc
parent8ff3a90d3c49b4c062fb6c2f0e80d8489f8bbe3e (diff)
Use typed ToolBox::SetDeactivateHdl Link
Change-Id: Ia2521b000e962a0cc461a54f73b5c97bbe34a602
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 1dc3f14a9edb..542a366f48dc 100644
--- a/framework/inc/uielement/addonstoolbarmanager.hxx
+++ b/framework/inc/uielement/addonstoolbarmanager.hxx
@@ -63,7 +63,7 @@ class AddonsToolBarManager : public ToolBarManager
DECL_LINK(Command, void *);
DECL_LINK_TYPED(Select, ToolBox *, void);
DECL_LINK_TYPED(Activate, ToolBox *, void);
- DECL_LINK(Deactivate, void *);
+ DECL_LINK_TYPED(Deactivate, ToolBox *, void);
DECL_LINK( StateChanged, StateChangedType* );
DECL_LINK( DataChanged, DataChangedEvent* );
diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx
index 6e8ea309fd31..7e1ae3b7c8aa 100644
--- a/framework/inc/uielement/toolbarmanager.hxx
+++ b/framework/inc/uielement/toolbarmanager.hxx
@@ -133,7 +133,7 @@ class ToolBarManager : public ToolbarManager_Base
DECL_LINK_TYPED(DoubleClick, ToolBox *, void);
DECL_LINK_TYPED(Select, ToolBox *, void);
DECL_LINK_TYPED(Activate, ToolBox *, void);
- DECL_LINK(Deactivate, void *);
+ DECL_LINK_TYPED(Deactivate, ToolBox *, void);
DECL_LINK( StateChanged, StateChangedType* );
DECL_LINK( DataChanged, DataChangedEvent* );
DECL_LINK( MiscOptionsChanged, void* );