diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-20 17:22:00 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-21 07:44:43 +0000 |
commit | 382eb1a23c390154619c385414bdbe6f6e461173 (patch) | |
tree | dbd1970c3d36903b78ed4c754f5faf14f57755c7 /include/svtools | |
parent | 652933e8fe46b24049ad0a6e61811727b1965aea (diff) |
remove untyped Link<>
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b
Reviewed-on: https://gerrit.libreoffice.org/19491
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/treelist.hxx | 2 | ||||
-rw-r--r-- | include/svtools/wizdlg.hxx | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx index 873b9bb822bb..fdd7879e075d 100644 --- a/include/svtools/treelist.hxx +++ b/include/svtools/treelist.hxx @@ -210,8 +210,6 @@ public: // The Model calls the Clone Link to clone Entries. // Thus we do not need to derive from the Model if we derive from SvTreeListEntry. - // Declaration of the Clone Handler: - // DECL_LINK(CloneHdl,SvTreeListEntry*); // The Handler needs to return a SvTreeListEntry* SvTreeListEntry* Clone( SvTreeListEntry* pEntry, sal_uLong& nCloneCount ) const; void SetCloneLink( const Link<SvTreeListEntry*,SvTreeListEntry*>& rLink ) diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx index 44f1c6973e21..be3de098c17d 100644 --- a/include/svtools/wizdlg.hxx +++ b/include/svtools/wizdlg.hxx @@ -166,20 +166,18 @@ void MyWizardDlg::ActivatePage() MyWizardDlg-Prev/Next-Handler ----------------------------- -IMPL_LINK( MyWizardDlg, ImplPrevHdl, PushButton*, pBtn ) +IMPL_LINK_TYPED( MyWizardDlg, ImplPrevHdl, PushButton*, pBtn, void ) { ShowPrevPage(); if ( !GetCurLevel() ) pBtn->Disable(); - return 0; } -IMPL_LINK( MyWizardDlg, ImplNextHdl, PushButton*, pBtn ) +IMPL_LINK_TYPED( MyWizardDlg, ImplNextHdl, PushButton*, pBtn, void ) { ShowNextPage(); if ( GetCurLevel() < 3 ) pBtn->Disable(); - return 0; } *************************************************************************/ |