diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 08:38:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-16 08:38:55 +0200 |
commit | 69a06ca6bf45c4e2aceb06262bfa1e7be6f565e8 (patch) | |
tree | ad1d1e4c9c72fac1ef620e26b865d4001a538df1 /forms | |
parent | d30aedb2a381e89a5a3466f06c95ff7636c9306d (diff) |
convert Link<> to typed
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextengine.cxx | 5 | ||||
-rw-r--r-- | forms/source/richtext/richtextengine.hxx | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/forms/source/richtext/richtextengine.cxx b/forms/source/richtext/richtextengine.cxx index 3d4ebcdd4d9a..b04e121abaeb 100644 --- a/forms/source/richtext/richtextengine.cxx +++ b/forms/source/richtext/richtextengine.cxx @@ -131,14 +131,13 @@ namespace frm } - IMPL_LINK( RichTextEngine, EditEngineStatusChanged, EditStatus*, _pStatus ) + IMPL_LINK_TYPED( RichTextEngine, EditEngineStatusChanged, EditStatus&, _rStatus, void ) { for ( ::std::vector< IEngineStatusListener* >::const_iterator aLoop = m_aStatusListeners.begin(); aLoop != m_aStatusListeners.end(); ++aLoop ) - (*aLoop)->EditEngineStatusChanged( *_pStatus ); - return 0L; + (*aLoop)->EditEngineStatusChanged( _rStatus ); } diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index 3c32ece9c9c5..98ddf5e3d242 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -67,7 +67,7 @@ namespace frm RichTextEngine& operator=( const RichTextEngine& ) SAL_DELETED_FUNCTION; private: - DECL_LINK( EditEngineStatusChanged, EditStatus* ); + DECL_LINK_TYPED( EditEngineStatusChanged, EditStatus&, void ); }; |