diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-27 13:08:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-28 09:49:56 +0200 |
commit | bd8b93fdff93ff7b2b7e493a7bcef6a59f299dae (patch) | |
tree | f05be9665737f0667faf95702d96fbf3f0a103c5 /sfx2/source/sidebar/AsynchronousCall.cxx | |
parent | 1b9c3a17e8496aedfb80528c5275e6658154789d (diff) |
make PostUserEvent Link<> typed
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
Diffstat (limited to 'sfx2/source/sidebar/AsynchronousCall.cxx')
-rw-r--r-- | sfx2/source/sidebar/AsynchronousCall.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/AsynchronousCall.cxx b/sfx2/source/sidebar/AsynchronousCall.cxx index f9ebe18624a9..13aff881c322 100644 --- a/sfx2/source/sidebar/AsynchronousCall.cxx +++ b/sfx2/source/sidebar/AsynchronousCall.cxx @@ -43,7 +43,7 @@ void AsynchronousCall::RequestCall() { if (mnCallId == 0) { - Link<> aLink (LINK(this, AsynchronousCall, HandleUserCall)); + Link<void*,void> aLink (LINK(this, AsynchronousCall, HandleUserCall)); mnCallId = Application::PostUserEvent(aLink); } } @@ -57,13 +57,11 @@ void AsynchronousCall::CancelRequest() } } -IMPL_LINK_NOARG(AsynchronousCall, HandleUserCall ) +IMPL_LINK_NOARG_TYPED(AsynchronousCall, HandleUserCall, void*, void ) { mnCallId = 0; if (maAction) maAction(); - - return sal_IntPtr(true); } } } // end of namespace sfx2::sidebar |