From 1e2119fd0211b671cad7ba7005a99a1da1a0caf5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 Sep 2015 16:10:05 +0200 Subject: convert Link<> to typed Change-Id: I3d35a0bb75b6989dd13371543d1bdf3ef5f47641 --- formula/source/ui/dlg/funcpage.cxx | 3 +-- formula/source/ui/dlg/funcpage.hxx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'formula') diff --git a/formula/source/ui/dlg/funcpage.cxx b/formula/source/ui/dlg/funcpage.cxx index dbcf06c6ca5e..045eef2e78b0 100644 --- a/formula/source/ui/dlg/funcpage.cxx +++ b/formula/source/ui/dlg/funcpage.cxx @@ -180,10 +180,9 @@ IMPL_LINK( FuncPage, SelHdl, ListBox*, pLb ) return 0; } -IMPL_LINK_NOARG(FuncPage, DblClkHdl) +IMPL_LINK_NOARG_TYPED(FuncPage, DblClkHdl, ListBox&, void) { aDoubleClickLink.Call(this); - return 0; } void FuncPage::SetCategory(sal_Int32 nCat) diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx index 6d76f546aa4b..0f85df095923 100644 --- a/formula/source/ui/dlg/funcpage.hxx +++ b/formula/source/ui/dlg/funcpage.hxx @@ -75,7 +75,7 @@ private: void impl_addFunctions(const IFunctionCategory* _pCategory); DECL_LINK( SelHdl, ListBox* ); - DECL_LINK(DblClkHdl, void *); + DECL_LINK_TYPED(DblClkHdl, ListBox&, void); protected: -- cgit