summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/macrodlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-07 09:35:04 +0200
committerNoel Grandin <noel@peralex.com>2015-09-08 08:16:46 +0200
commit61623d5b90510ae6c791a41031d586a9316e74c4 (patch)
tree0b5a8115ae6d603cbe6208b958d8b440ea8fd06f /basctl/source/basicide/macrodlg.cxx
parentd7efea29cdc2faa57d172d7e4d8def18fd49536c (diff)
convert Link<> to typed
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
Diffstat (limited to 'basctl/source/basicide/macrodlg.cxx')
-rw-r--r--basctl/source/basicide/macrodlg.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index d085c0227cc6..bed7a622690b 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -482,7 +482,7 @@ IMPL_LINK_NOARG(MacroChooser, MacroDoubleClickHdl)
return 0;
}
-IMPL_LINK( MacroChooser, MacroSelectHdl, SvTreeListBox *, pBox )
+IMPL_LINK_TYPED( MacroChooser, MacroSelectHdl, SvTreeListBox *, pBox, void )
{
// Is also called if deselected!
// Two function calls in every SelectHdl because
@@ -493,17 +493,16 @@ IMPL_LINK( MacroChooser, MacroSelectHdl, SvTreeListBox *, pBox )
UpdateFields();
CheckButtons();
}
- return 0;
}
-IMPL_LINK( MacroChooser, BasicSelectHdl, SvTreeListBox *, pBox )
+IMPL_LINK_TYPED( MacroChooser, BasicSelectHdl, SvTreeListBox *, pBox, void )
{
// Is also called if deselected!
// Two function calls in every SelectHdl because
// there's no separate DeselectHDL.
// So find out if select or deselect:
if ( !pBox->IsSelected( pBox->GetHdlEntry() ) )
- return 0;
+ return;
SbModule* pModule = m_pBasicBox->FindModule( m_pBasicBox->GetCurEntry() );
@@ -547,7 +546,6 @@ IMPL_LINK( MacroChooser, BasicSelectHdl, SvTreeListBox *, pBox )
UpdateFields();
CheckButtons();
- return 0;
}