summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-06 10:31:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-06 12:54:23 +0200
commitf9830183e1076fcbaa757f2220070b4bfe804231 (patch)
treef45343b120e0bd666757f624fcca57d9014dcc33 /framework/inc
parent1e64fe1364dc4aed8d46671e5b7160244b77db76 (diff)
Use typed ToolBox::SetStateChangedHdl Link
Change-Id: I9b574f652e5d999086e32e9c7ede7c68fe5cc99a
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 234df21ae560..0d31d8200f9c 100644
--- a/framework/inc/uielement/addonstoolbarmanager.hxx
+++ b/framework/inc/uielement/addonstoolbarmanager.hxx
@@ -64,7 +64,7 @@ class AddonsToolBarManager : public ToolBarManager
DECL_LINK_TYPED(Select, ToolBox *, void);
DECL_LINK_TYPED(Activate, ToolBox *, void);
DECL_LINK_TYPED(Deactivate, ToolBox *, void);
- DECL_LINK( StateChanged, StateChangedType* );
+ DECL_LINK_TYPED( StateChanged, StateChangedType const *, void );
DECL_LINK( DataChanged, DataChangedEvent* );
virtual bool MenuItemAllowed( sal_uInt16 ) const SAL_OVERRIDE;
diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx
index 0bc40ca1d7ab..810076da34fa 100644
--- a/framework/inc/uielement/toolbarmanager.hxx
+++ b/framework/inc/uielement/toolbarmanager.hxx
@@ -134,7 +134,7 @@ class ToolBarManager : public ToolbarManager_Base
DECL_LINK_TYPED(Select, ToolBox *, void);
DECL_LINK_TYPED(Activate, ToolBox *, void);
DECL_LINK_TYPED(Deactivate, ToolBox *, void);
- DECL_LINK( StateChanged, StateChangedType* );
+ DECL_LINK_TYPED( StateChanged, StateChangedType const *, void );
DECL_LINK( DataChanged, DataChangedEvent* );
DECL_LINK( MiscOptionsChanged, void* );