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 --- basctl/source/basicide/baside2.hxx | 2 +- basctl/source/basicide/baside2b.cxx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'basctl/source') diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index 7aab76158f51..23a7863cbce5 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -495,7 +495,7 @@ public: virtual void dispose() SAL_OVERRIDE; void InsertSelectedEntry(); //insert the selected entry - DECL_LINK(ImplDoubleClickHdl, void*); + DECL_LINK_TYPED(ImplDoubleClickHdl, ListBox&, void); DECL_LINK(ImplSelectHdl, void*); protected: diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index f97ffbebf6f7..be6a02ec8111 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2642,10 +2642,9 @@ void CodeCompleteListBox::dispose() ListBox::dispose(); } -IMPL_LINK_NOARG(CodeCompleteListBox, ImplDoubleClickHdl) +IMPL_LINK_NOARG_TYPED(CodeCompleteListBox, ImplDoubleClickHdl, ListBox&, void) { InsertSelectedEntry(); - return 0; } IMPL_LINK_NOARG(CodeCompleteListBox, ImplSelectHdl) -- cgit