diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 23:35:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-06 08:20:56 +0200 |
commit | c8fdfc39ebf89e10bc01bf9569b29b5b4c85d40d (patch) | |
tree | 73e3178f1c022413dd81b70f1576ac3b388ac8b2 /sfx2 | |
parent | 8ff3a90d3c49b4c062fb6c2f0e80d8489f8bbe3e (diff) |
Use typed ToolBox::SetDeactivateHdl Link
Change-Id: Ia2521b000e962a0cc461a54f73b5c97bbe34a602
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/SidebarToolBox.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx index a39031e3478b..ce0c7bdeb15d 100644 --- a/sfx2/source/sidebar/SidebarToolBox.cxx +++ b/sfx2/source/sidebar/SidebarToolBox.cxx @@ -80,7 +80,7 @@ void SidebarToolBox::dispose() SetDoubleClickHdl(Link<ToolBox *, void>()); SetSelectHdl(Link<ToolBox *, void>()); SetActivateHdl(Link<ToolBox *, void>()); - SetDeactivateHdl(Link<>()); + SetDeactivateHdl(Link<ToolBox *, void>()); mbAreHandlersRegistered = false; } @@ -276,10 +276,8 @@ IMPL_LINK_TYPED(SidebarToolBox, SelectHandler, ToolBox*, pToolBox, void) IMPL_LINK_NOARG_TYPED(SidebarToolBox, ActivateToolBox, ToolBox*, void) {} -IMPL_LINK(SidebarToolBox, DeactivateToolBox, ToolBox*, EMPTYARG) -{ - return 1; -} +IMPL_LINK_NOARG_TYPED(SidebarToolBox, DeactivateToolBox, ToolBox*, void) +{} } } // end of namespace sfx2::sidebar |