summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-16 08:38:23 +0200
committerNoel Grandin <noel@peralex.com>2015-09-16 08:38:55 +0200
commit69a06ca6bf45c4e2aceb06262bfa1e7be6f565e8 (patch)
treead1d1e4c9c72fac1ef620e26b865d4001a538df1 /forms
parentd30aedb2a381e89a5a3466f06c95ff7636c9306d (diff)
convert Link<> to typed
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/richtextengine.cxx5
-rw-r--r--forms/source/richtext/richtextengine.hxx2
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 );
};