diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-14 11:28:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-15 09:37:31 +0200 |
commit | e0714ae393661da231466ee679d1a6f5cd49fe35 (patch) | |
tree | 910be73c75f74d4c62dc881361b1a5a211a34c61 /framework | |
parent | 30350f72d8ce9d60ae6c47d602eff90f34bf71a9 (diff) |
convert Link<> to typed
Change-Id: I8f3e401afa27778678788b4ac90ea927a2fed1d7
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/uielement/toolbarmanager.hxx | 2 | ||||
-rw-r--r-- | framework/source/uielement/toolbarmanager.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index f4431778c95c..b04150015bff 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( StateChanged, StateChangedType const *, void ); DECL_LINK_TYPED( DataChanged, DataChangedEvent const *, void ); - DECL_LINK( MiscOptionsChanged, void* ); + DECL_LINK_TYPED( MiscOptionsChanged, LinkParamNone*, void ); DECL_LINK_TYPED( MenuButton, ToolBox *, void ); DECL_LINK_TYPED( MenuSelect, Menu *, bool ); diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index f19c611c2e50..d41fbefdbbbc 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -2099,10 +2099,9 @@ IMPL_LINK_TYPED( ToolBarManager, DataChanged, DataChangedEvent const *, pDataCha } } -IMPL_LINK_NOARG(ToolBarManager, MiscOptionsChanged) +IMPL_LINK_NOARG_TYPED(ToolBarManager, MiscOptionsChanged, LinkParamNone*, void) { CheckAndUpdateImages(); - return 0; } IMPL_LINK_NOARG_TYPED(ToolBarManager, AsyncUpdateControllersHdl, Timer *, void) |