diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 16:10:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:34 +0200 |
commit | 1e2119fd0211b671cad7ba7005a99a1da1a0caf5 (patch) | |
tree | c4298af25e9a082066ad98a69c5c6c281a360ac5 /basctl | |
parent | f4f05ab199101b9f11718ddc82e139815c1fc521 (diff) |
convert Link<> to typed
Change-Id: I3d35a0bb75b6989dd13371543d1bdf3ef5f47641
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
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) |