summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-05 22:43:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-06 08:20:55 +0200
commitb515d1f36fdf8c242079da60eb4ecd5fd456583c (patch)
treef26dd6feb936ddec4799bed60d4966d46acff938 /extensions
parentf593be5bcde09965bb3478e00bcdedbc6bd5bc57 (diff)
Use various typed ToolBox::Set*Hdl Links
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/toolbar.cxx3
-rw-r--r--extensions/source/bibliography/toolbar.hxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index 08ddcced7d15..4c39a326ac11 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -479,7 +479,7 @@ IMPL_LINK_NOARG_TYPED( BibToolBar, SendSelHdl, Idle*, void )
SendDispatch(TBC_LB_SOURCE,aPropVal);
}
-IMPL_LINK( BibToolBar, MenuHdl, ToolBox*, /*pToolbox*/)
+IMPL_LINK_NOARG_TYPED( BibToolBar, MenuHdl, ToolBox*, void)
{
sal_uInt16 nId=GetCurItemId();
if(nId==TBC_BT_AUTOFILTER)
@@ -513,7 +513,6 @@ IMPL_LINK( BibToolBar, MenuHdl, ToolBox*, /*pToolbox*/)
}
- return 0;
}
void BibToolBar::statusChanged(const frame::FeatureStateEvent& rEvent)
diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx
index ddd9a0259323..efa5b2c70e99 100644
--- a/extensions/source/bibliography/toolbar.hxx
+++ b/extensions/source/bibliography/toolbar.hxx
@@ -130,7 +130,7 @@ class BibToolBar: public ToolBox
BibDataManager* pDatMan;
DECL_LINK( SelHdl, ListBox* );
DECL_LINK_TYPED( SendSelHdl, Idle*, void );
- DECL_LINK( MenuHdl, ToolBox* );
+ DECL_LINK_TYPED( MenuHdl, ToolBox*, void );
DECL_LINK( OptionsChanged_Impl, void* );
DECL_LINK( SettingsChanged_Impl, void* );