diff options
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; } *************************************************************************/ |