summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-02 09:20:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-03 07:20:27 +0000
commit5beffcf3f1fd96fb9909b93759f8537417048863 (patch)
tree4c3818fa030c9b5f99a7abd3a39b68945a0c41e3 /sfx2/source/appl
parent84945163ab6496d22ca814880cfd14ceb33c5f14 (diff)
convert Link<> to typed
Change-Id: Ic0482dc5ed26eb2fc6ccde73022eff8b4786de83 Reviewed-on: https://gerrit.libreoffice.org/18258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/newhelp.cxx3
-rw-r--r--sfx2/source/appl/newhelp.hxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index f2106fc9d2ac..00ef0bc5b7f6 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -1582,12 +1582,11 @@ HelpTabPage_Impl* SfxHelpIndexWindow_Impl::GetCurrentPage( sal_uInt16& rCurId )
return pPage;
}
-IMPL_LINK( SfxHelpIndexWindow_Impl, ActivatePageHdl, TabControl *, pTabCtrl )
+IMPL_LINK_TYPED( SfxHelpIndexWindow_Impl, ActivatePageHdl, TabControl *, pTabCtrl, void )
{
sal_uInt16 nId = 0;
TabPage* pPage = GetCurrentPage( nId );
pTabCtrl->SetTabPage( nId, pPage );
- return 0;
}
IMPL_LINK_NOARG(SfxHelpIndexWindow_Impl, SelectHdl)
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx
index 0d08861074ba..fd5e3d67404b 100644
--- a/sfx2/source/appl/newhelp.hxx
+++ b/sfx2/source/appl/newhelp.hxx
@@ -313,7 +313,7 @@ private:
inline SearchTabPage_Impl* GetSearchPage();
inline BookmarksTabPage_Impl* GetBookmarksPage();
- DECL_LINK( ActivatePageHdl, TabControl* );
+ DECL_LINK_TYPED(ActivatePageHdl, TabControl*, void );
DECL_LINK(SelectHdl, void *);
DECL_LINK_TYPED(InitHdl, Idle *, void);
DECL_LINK_TYPED(SelectFactoryHdl, Idle *, void);