From cf0c04a428754dfd5aa477cebc5441bc74e27005 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 10 Sep 2015 14:39:17 +0200 Subject: convert Link<> to typed Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0 --- basctl/source/basicide/macrodlg.cxx | 6 +++--- basctl/source/basicide/macrodlg.hxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index bed7a622690b..d95e00dabf18 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -468,18 +468,18 @@ void MacroChooser::CheckButtons() -IMPL_LINK_NOARG(MacroChooser, MacroDoubleClickHdl) +IMPL_LINK_NOARG_TYPED(MacroChooser, MacroDoubleClickHdl, SvTreeListBox*, bool) { StoreMacroDescription(); if (nMode == Recording) { SbMethod* pMethod = GetMacro(); if ( pMethod && !QueryReplaceMacro( pMethod->GetName(), this ) ) - return 0; + return false; } EndDialog(Macro_OkRun); - return 0; + return false; } IMPL_LINK_TYPED( MacroChooser, MacroSelectHdl, SvTreeListBox *, pBox, void ) diff --git a/basctl/source/basicide/macrodlg.hxx b/basctl/source/basicide/macrodlg.hxx index c16d7d18b0c1..b4f621e42f07 100644 --- a/basctl/source/basicide/macrodlg.hxx +++ b/basctl/source/basicide/macrodlg.hxx @@ -68,7 +68,7 @@ private: Mode nMode; DECL_LINK_TYPED( MacroSelectHdl, SvTreeListBox *, void ); - DECL_LINK(MacroDoubleClickHdl, void *); + DECL_LINK_TYPED( MacroDoubleClickHdl, SvTreeListBox*, bool ); DECL_LINK_TYPED( BasicSelectHdl, SvTreeListBox *, void ); DECL_LINK( EditModifyHdl, Edit * ); DECL_LINK_TYPED( ButtonHdl, Button *, void ); -- cgit v1.2.3