From 8275e66fc1b872ff01131dfc54123fe1dd13b3e8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 7 Sep 2015 16:13:54 +0200 Subject: convert Link<> to typed Change-Id: I2bcfd0f99e5caa12dda0a647daaffb7c8aa95d6a --- include/svx/rubydialog.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx index b7108e2e7aed..c47932ba72d9 100644 --- a/include/svx/rubydialog.hxx +++ b/include/svx/rubydialog.hxx @@ -69,8 +69,8 @@ class SVX_DLLPUBLIC SvxRubyChildWindow : public SfxChildWindow class SvxRubyData_Impl; class RubyEdit : public Edit { - Link<> aScrollHdl; - Link<> aJumpHdl; + Link aScrollHdl; + Link aJumpHdl; virtual void GetFocus() SAL_OVERRIDE; virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; public: @@ -82,8 +82,8 @@ public: : Edit(pParent, WB_BORDER) { } - void SetScrollHdl(Link<>& rLink) {aScrollHdl = rLink;} - void SetJumpHdl(Link<>& rLink) {aJumpHdl = rLink;} + void SetScrollHdl(Link& rLink) {aScrollHdl = rLink;} + void SetJumpHdl(Link& rLink) {aJumpHdl = rLink;} }; @@ -136,8 +136,8 @@ class SvxRubyDialog : public SfxModelessDialog DECL_LINK(AdjustHdl_Impl, ListBox*); DECL_LINK(CharStyleHdl_Impl, void *); DECL_LINK(EditModifyHdl_Impl, Edit*); - DECL_LINK(EditScrollHdl_Impl, sal_Int32*); - DECL_LINK(EditJumpHdl_Impl, sal_Int32*); + DECL_LINK_TYPED(EditScrollHdl_Impl, sal_Int32, bool); + DECL_LINK_TYPED(EditJumpHdl_Impl, sal_Int32, void); void SetRubyText(sal_Int32 nPos, Edit& rLeft, Edit& rRight); void GetRubyText(); -- cgit