From 3c99f8500f657ed84b316390d5175a6f5e56bc69 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 4 Oct 2015 15:05:38 +0200 Subject: convert Link<> to typed Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- cui/source/inc/paragrph.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cui/source/inc/paragrph.hxx') diff --git a/cui/source/inc/paragrph.hxx b/cui/source/inc/paragrph.hxx index fdb840c71334..b4b401ea0420 100644 --- a/cui/source/inc/paragrph.hxx +++ b/cui/source/inc/paragrph.hxx @@ -90,7 +90,7 @@ private: void Init_Impl(); void UpdateExample_Impl(); - DECL_LINK( LineDistHdl_Impl, ListBox* ); + DECL_LINK_TYPED( LineDistHdl_Impl, ListBox&, void ); DECL_LINK(ModifyHdl_Impl, void *); DECL_LINK_TYPED( AutoHdl_Impl, Button*, void ); @@ -154,8 +154,8 @@ class SvxParaAlignTabPage : public SfxTabPage VclPtr m_pTextDirectionLB; DECL_LINK_TYPED(AlignHdl_Impl, Button*, void); - DECL_LINK(LastLineHdl_Impl, void *); - DECL_LINK(TextDirectionHdl_Impl, void *); + DECL_LINK_TYPED(LastLineHdl_Impl, ListBox&, void); + DECL_LINK_TYPED(TextDirectionHdl_Impl, ListBox&, void); void UpdateExample_Impl(); @@ -262,8 +262,8 @@ private: DECL_LINK_TYPED(OrphanHdl_Impl, Button*, void); DECL_LINK_TYPED(HyphenClickHdl_Impl, Button*, void); DECL_LINK_TYPED(ApplyCollClickHdl_Impl, Button*, void); - DECL_LINK( PageBreakPosHdl_Impl, ListBox* ); - DECL_LINK( PageBreakTypeHdl_Impl, ListBox* ); + DECL_LINK_TYPED( PageBreakPosHdl_Impl, ListBox&, void ); + DECL_LINK_TYPED( PageBreakTypeHdl_Impl, ListBox&, void ); virtual void PageCreated(const SfxAllItemSet& aSet) SAL_OVERRIDE; }; -- cgit