diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 09:59:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 12:05:38 +0200 |
commit | c9b4c5681194a1cd3297a36d4a1f4e4cc3aac55a (patch) | |
tree | 2cb864a67b556f807ba175507296f7dfc5254944 /forms | |
parent | 8c4a1663f5d93380268365d35a5581d8065df897 (diff) |
Use typed Idle::SetIdleHdl Link
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/ListBox.cxx | 3 | ||||
-rw-r--r-- | forms/source/component/ListBox.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
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 ); }; |