From c9b4c5681194a1cd3297a36d4a1f4e4cc3aac55a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 5 May 2015 09:59:27 +0200 Subject: Use typed Idle::SetIdleHdl Link Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9 --- forms/source/component/ListBox.cxx | 3 +-- forms/source/component/ListBox.hxx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'forms') diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 5c8fd838e002..c6243902ccc5 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -1972,10 +1972,9 @@ namespace frm } - IMPL_LINK(OListBoxControl, OnTimeout, void*, /*EMPTYTAG*/) + IMPL_LINK_NOARG_TYPED(OListBoxControl, OnTimeout, Idle*, void) { m_aChangeListeners.notifyEach( &XChangeListener::changed, EventObject( *this ) ); - return 0L; } diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx index 381d36ed8638..4a77df0a9192 100644 --- a/forms/source/component/ListBox.hxx +++ b/forms/source/component/ListBox.hxx @@ -335,7 +335,7 @@ protected: virtual void processEvent( const ::comphelper::AnyEvent& _rEvent ) SAL_OVERRIDE; private: - DECL_LINK( OnTimeout, void* ); + DECL_LINK_TYPED( OnTimeout, Idle*, void ); }; -- cgit v1.2.3