summaryrefslogtreecommitdiff
path: root/embeddedobj/test/MainThreadExecutor
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-20 17:22:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-21 07:44:43 +0000
commit382eb1a23c390154619c385414bdbe6f6e461173 (patch)
treedbd1970c3d36903b78ed4c754f5faf14f57755c7 /embeddedobj/test/MainThreadExecutor
parent652933e8fe46b24049ad0a6e61811727b1965aea (diff)
remove untyped Link<>
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'embeddedobj/test/MainThreadExecutor')
-rw-r--r--embeddedobj/test/MainThreadExecutor/xexecutor.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/embeddedobj/test/MainThreadExecutor/xexecutor.cxx b/embeddedobj/test/MainThreadExecutor/xexecutor.cxx
index 24fd827bf1c7..2164f76516b5 100644
--- a/embeddedobj/test/MainThreadExecutor/xexecutor.cxx
+++ b/embeddedobj/test/MainThreadExecutor/xexecutor.cxx
@@ -29,7 +29,7 @@ void MainThreadExecutor_Impl::execute()
Application::PostUserEvent( LINK( this, MainThreadExecutor_Impl, executor ), NULL );
}
-IMPL_LINK_NOARG( MainThreadExecutor_Impl, executor )
+IMPL_LINK_NOARG_TYPED( MainThreadExecutor_Impl, executor, void*, void )
{
if ( m_xJob.is() )
{
@@ -40,8 +40,6 @@ IMPL_LINK_NOARG( MainThreadExecutor_Impl, executor )
m_bExecuted = sal_True;
delete this;
-
- return 0;
}
MainThreadExecutor_Impl::MainThreadExecutor_Impl( const uno::Reference< task::XJob >& xJob,