From b515d1f36fdf8c242079da60eb4ecd5fd456583c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 5 May 2015 22:43:11 +0200 Subject: Use various typed ToolBox::Set*Hdl Links Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0 --- cui/source/customize/cfg.cxx | 4 +--- cui/source/inc/cfg.hxx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'cui') diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index ac1a8b47a217..998621fec782 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -5019,7 +5019,7 @@ uno::Reference< graphic::XGraphic> SvxIconSelectorDialog::GetSelectedIcon() return result; } -IMPL_LINK( SvxIconSelectorDialog, SelectHdl, ToolBox *, pToolBox ) +IMPL_LINK_TYPED( SvxIconSelectorDialog, SelectHdl, ToolBox *, pToolBox, void ) { (void)pToolBox; @@ -5047,8 +5047,6 @@ IMPL_LINK( SvxIconSelectorDialog, SelectHdl, ToolBox *, pToolBox ) { pBtnDelete->Enable( false ); } - - return 0; } IMPL_LINK( SvxIconSelectorDialog, ImportHdl, PushButton *, pButton ) diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 35c8b40baaa5..73b0514ca4b2 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -755,7 +755,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > GetSelectedIcon(); - DECL_LINK( SelectHdl, ToolBox * ); + DECL_LINK_TYPED( SelectHdl, ToolBox *, void ); DECL_LINK( ImportHdl, PushButton * ); DECL_LINK( DeleteHdl, PushButton * ); }; -- cgit v1.2.3