summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-07 16:13:54 +0200
committerNoel Grandin <noel@peralex.com>2015-09-08 08:16:48 +0200
commit8275e66fc1b872ff01131dfc54123fe1dd13b3e8 (patch)
tree0ba24826b81f1ccf74ba6d6190807ee91b7bf211 /include
parent2b30479d56f8084efd7032dc2475fda496cf2903 (diff)
convert Link<> to typed
Change-Id: I2bcfd0f99e5caa12dda0a647daaffb7c8aa95d6a
Diffstat (limited to 'include')
-rw-r--r--include/svx/rubydialog.hxx12
1 files changed, 6 insertions, 6 deletions
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<sal_Int32,bool> aScrollHdl;
+ Link<sal_Int32,void> 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<sal_Int32,bool>& rLink) {aScrollHdl = rLink;}
+ void SetJumpHdl(Link<sal_Int32,void>& 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();