diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-02 09:20:08 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-03 07:20:27 +0000 |
commit | 5beffcf3f1fd96fb9909b93759f8537417048863 (patch) | |
tree | 4c3818fa030c9b5f99a7abd3a39b68945a0c41e3 /basctl | |
parent | 84945163ab6496d22ca814880cfd14ceb33c5f14 (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 'basctl')
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 3 | ||||
-rw-r--r-- | basctl/source/basicide/moduldlg.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index d82e4c196ee7..545e178d2e8f 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -510,7 +510,7 @@ short OrganizeDialog::Execute() } -IMPL_LINK( OrganizeDialog, ActivatePageHdl, TabControl *, pTabCtrl ) +IMPL_LINK_TYPED( OrganizeDialog, ActivatePageHdl, TabControl *, pTabCtrl, void ) { sal_uInt16 nId = pTabCtrl->GetCurPageId(); @@ -545,7 +545,6 @@ IMPL_LINK( OrganizeDialog, ActivatePageHdl, TabControl *, pTabCtrl ) DBG_ASSERT( pNewTabPage, "Keine Page!" ); pTabCtrl->SetTabPage( nId, pNewTabPage ); } - return 0; } diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx index 61400d2b7e31..b4505b32ee28 100644 --- a/basctl/source/basicide/moduldlg.hxx +++ b/basctl/source/basicide/moduldlg.hxx @@ -178,7 +178,7 @@ public: virtual short Execute() SAL_OVERRIDE; - DECL_LINK( ActivatePageHdl, TabControl * ); + DECL_LINK_TYPED( ActivatePageHdl, TabControl*, void ); }; class ObjectPage: public TabPage |