diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-28 13:22:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-31 09:50:10 +0200 |
commit | 7b096a6da180bb11ffbff15c9a5358c63596cc34 (patch) | |
tree | f5330ead159ec348c0aae10855c770804bd4cba8 /svtools | |
parent | f144e591f5786f1cac177e4e6eb13795eeda2657 (diff) |
make Link<> typed
Change-Id: I8949a92792df892b7f360e6b9979c8f61c702ce3
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/inettbc.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index cd04a853279c..e953c2725eed 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -106,7 +106,7 @@ class SvtMatchContext_Impl: public salhelper::Thread css::uno::Reference< css::ucb::XCommandProcessor > processor_; sal_Int32 commandId_; - DECL_LINK( Select_Impl, void* ); + DECL_LINK_TYPED( Select_Impl, void*, void ); virtual ~SvtMatchContext_Impl(); virtual void execute() SAL_OVERRIDE; @@ -207,14 +207,14 @@ void SvtMatchContext_Impl::execute( ) // Cancellable does not discard the information gained so far, it // inserts all collected completions into the listbox. -IMPL_LINK_NOARG( SvtMatchContext_Impl, Select_Impl ) +IMPL_LINK_NOARG_TYPED( SvtMatchContext_Impl, Select_Impl, void*, void ) { // avoid recursion through cancel button { osl::MutexGuard g(mutex_); if (stopped_) { // Completion was stopped, no display: - return 0; + return; } } @@ -273,8 +273,6 @@ IMPL_LINK_NOARG( SvtMatchContext_Impl, Select_Impl ) // the box has this control as a member so we have to set that member // to zero before deleting ourself. pBox->pCtx.clear(); - - return 0; } |