diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-04 17:28:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 10:21:54 +0200 |
commit | 8cafd08278c0b925aac91ea94d8f907d98f07047 (patch) | |
tree | 1c2b0e57c895511fdc67f8063647cc520ef5eaeb /editeng | |
parent | 3363f828d63775a11073276dce927b9538b57be6 (diff) |
Use typed Timer::SetTimeoutHdl Link
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 35fbc7ada465..ca187731b2e0 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -666,9 +666,9 @@ private: inline VirtualDevice* GetVirtualDevice( const MapMode& rMapMode, sal_uLong nDrawMode ); inline void EraseVirtualDevice() { pVirtDev.disposeAndClear(); } - DECL_LINK(StatusTimerHdl, void *); + DECL_LINK_TYPED(StatusTimerHdl, Timer *, void); DECL_LINK(IdleFormatHdl, void *); - DECL_LINK(OnlineSpellHdl, void *); + DECL_LINK_TYPED(OnlineSpellHdl, Timer *, void); DECL_LINK( DocModified, void* ); void CheckIdleFormatter(); diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 34f9f1c3f4d5..1928ba02f1a5 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -308,14 +308,12 @@ void ImpEditEngine::UpdateViews( EditView* pCurView ) CallStatusHdl(); } -IMPL_LINK_NOARG(ImpEditEngine, OnlineSpellHdl) +IMPL_LINK_NOARG_TYPED(ImpEditEngine, OnlineSpellHdl, Timer *, void) { if ( !Application::AnyInput( VclInputFlags::KEYBOARD ) && GetUpdateMode() && IsFormatted() ) DoOnlineSpelling(); else aOnlineSpellTimer.Start(); - - return 0; } IMPL_LINK_NOARG(ImpEditEngine, IdleFormatHdl) @@ -4016,10 +4014,9 @@ void ImpEditEngine::InvalidateFromParagraph( sal_Int32 nFirstInvPara ) pTmpPortion->ResetHeight(); } -IMPL_LINK_NOARG(ImpEditEngine, StatusTimerHdl) +IMPL_LINK_NOARG_TYPED(ImpEditEngine, StatusTimerHdl, Timer *, void) { CallStatusHdl(); - return 0; } void ImpEditEngine::CallStatusHdl() |