summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-10 14:39:17 +0200
committerNoel Grandin <noel@peralex.com>2015-09-11 08:48:54 +0200
commitcf0c04a428754dfd5aa477cebc5441bc74e27005 (patch)
tree6d4657ec370a3378887745b34d217a91bdab2eef /basctl
parente8ee8473361f09034fdcd4f30a2325a53a512a7a (diff)
convert Link<> to typed
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/macrodlg.cxx6
-rw-r--r--basctl/source/basicide/macrodlg.hxx2
2 files changed, 4 insertions, 4 deletions
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 );