summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-22 12:34:17 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-22 18:55:17 +0000
commit5645960113b3b7ded309bdb2ed5bd4a51877b96c (patch)
treec3f0abcea49e0f1f9b94fbd8eeeb1fbc2af075f5 /editeng
parenta19f981ea1c31a9a3af4a9368dc50f045701a047 (diff)
convert Link<> to typed
Change-Id: I2d3ed4e04b19159bd847a925a7296e981a6d468a Reviewed-on: https://gerrit.libreoffice.org/18771 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/hangulhanja.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx
index 660d14d3a9a2..286aadd4f585 100644
--- a/editeng/source/misc/hangulhanja.cxx
+++ b/editeng/source/misc/hangulhanja.cxx
@@ -152,7 +152,7 @@ namespace editeng
bool ContinueConversion( bool _bRepeatCurrentUnit );
private:
- DECL_LINK( OnOptionsChanged, void* );
+ DECL_LINK_TYPED( OnOptionsChanged, LinkParamNone*, void );
DECL_LINK_TYPED( OnIgnore, Button*, void );
DECL_LINK_TYPED( OnIgnoreAll, Button*, void );
DECL_LINK_TYPED( OnChange, Button*, void );
@@ -810,13 +810,11 @@ namespace editeng
m_pAntiImpl->HandleNewUnit( m_nCurrentStartIndex - m_nReplacementBaseIndex, m_nCurrentEndIndex - m_nReplacementBaseIndex );
}
- IMPL_LINK_NOARG(HangulHanjaConversion_Impl, OnOptionsChanged)
+ IMPL_LINK_NOARG_TYPED(HangulHanjaConversion_Impl, OnOptionsChanged, LinkParamNone*, void)
{
//options and dictionaries might have been changed
//-> update our internal settings and the dialog
implUpdateData();
-
- return 0L;
}
IMPL_LINK_NOARG_TYPED(HangulHanjaConversion_Impl, OnIgnore, Button*, void)