summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/macrodlg.cxx
diff options
context:
space:
mode:
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;
}