From 8cafd08278c0b925aac91ea94d8f907d98f07047 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 4 May 2015 17:28:40 +0200 Subject: Use typed Timer::SetTimeoutHdl Link Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100 --- vbahelper/source/vbahelper/vbaapplicationbase.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'vbahelper') diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx index 57f62684b581..ef9063ec670f 100644 --- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx +++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx @@ -107,10 +107,10 @@ public: m_aTimer.Start(); } - DECL_LINK( MacroCallHdl, void* ); + DECL_LINK_TYPED( MacroCallHdl, Timer*, void ); }; -IMPL_LINK_NOARG(VbaTimer, MacroCallHdl) +IMPL_LINK_NOARG_TYPED(VbaTimer, MacroCallHdl, Timer *, void) { if ( m_aTimerInfo.second.second == 0 || GetNow() < m_aTimerInfo.second.second ) { @@ -129,8 +129,6 @@ IMPL_LINK_NOARG(VbaTimer, MacroCallHdl) m_xBase->OnTime( uno::makeAny( m_aTimerInfo.second.first ), m_aTimerInfo.first, uno::makeAny( m_aTimerInfo.second.second ), uno::makeAny( sal_False ) ); } catch( uno::Exception& ) {} - - return 0; } // ====VbaTimerInfoHash================================== -- cgit