diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 11:48:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:32 +0200 |
commit | 81bec2e5535aeef7d6ae76f92124537d528f5c23 (patch) | |
tree | 121866ab62bb6b8286b078707098f16076389644 /forms | |
parent | c784b1a339ab59b7cf5caacd10be5945ec3e0f9f (diff) |
convert Link<> to typed
Change-Id: I87d4697fe032e3095406becdda026447edd1d68a
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextmodel.cxx | 4 | ||||
-rw-r--r-- | forms/source/richtext/richtextmodel.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx index 2bbe7f70d632..5d1aeccb4c79 100644 --- a/forms/source/richtext/richtextmodel.cxx +++ b/forms/source/richtext/richtextmodel.cxx @@ -552,7 +552,7 @@ namespace frm } - IMPL_LINK_NOARG( ORichTextModel, OnEngineContentModified ) + IMPL_LINK_NOARG_TYPED( ORichTextModel, OnEngineContentModified, LinkParamNone*, void ) { if ( !m_bSettingEngineText ) { @@ -564,8 +564,6 @@ namespace frm // On the other hand, the API *requires* us to notify changes in the "Text" // property immediately ... } - - return 0L; } diff --git a/forms/source/richtext/richtextmodel.hxx b/forms/source/richtext/richtextmodel.hxx index c39edc98a964..ff0caf5ec23f 100644 --- a/forms/source/richtext/richtextmodel.hxx +++ b/forms/source/richtext/richtextmodel.hxx @@ -168,7 +168,7 @@ namespace frm */ void impl_smlock_setEngineText( const OUString& _rText ); - DECL_LINK( OnEngineContentModified, void* ); + DECL_LINK_TYPED( OnEngineContentModified, LinkParamNone*, void ); static ::com::sun::star::uno::Sequence< sal_Int8 > getEditEngineTunnelId(); |