diff options
Diffstat (limited to 'vcl/source/helper/evntpost.cxx')
-rw-r--r-- | vcl/source/helper/evntpost.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/helper/evntpost.cxx b/vcl/source/helper/evntpost.cxx index d278e9aa71b0..ce84ec74cba2 100644 --- a/vcl/source/helper/evntpost.cxx +++ b/vcl/source/helper/evntpost.cxx @@ -46,12 +46,12 @@ void EventPoster::Post( UserEvent* pEvent ) m_nId = Application::PostUserEvent( ( LINK( this, EventPoster, DoEvent_Impl ) ), pEvent ); } -IMPL_LINK( EventPoster, DoEvent_Impl, UserEvent*, pEvent ) +IMPL_LINK_TYPED( EventPoster, DoEvent_Impl, void*, p, void ) { + UserEvent* pEvent = static_cast<UserEvent*>(p); DBG_TESTSOLARMUTEX(); m_nId = 0; m_aLink.Call( pEvent ); - return 0; } } |