diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-07 13:54:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-08 08:16:46 +0200 |
commit | b4deeef405fc4200c1b33d2cecf7b301417b2398 (patch) | |
tree | 9ced886d424136a484fbb94e6d08e1c67136e897 /include/svtools | |
parent | 8d927d3f82a33a464662e4b54a8a07d30d4d1a19 (diff) |
convert Link<> to typed
Change-Id: Ia520982b6764994fc4ab02cb12d1bd051e37883a
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/wizdlg.hxx | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx index 6ae5c03773f0..984ec15858eb 100644 --- a/include/svtools/wizdlg.hxx +++ b/include/svtools/wizdlg.hxx @@ -198,20 +198,19 @@ IMPL_LINK( MyWizardDlg, ImplNextHdl, PushButton*, pBtn ) class SVT_DLLPUBLIC WizardDialog : public ModalDialog { private: - Idle maWizardLayoutIdle; - Size maPageSize; - ImplWizPageData* mpFirstPage; - ImplWizButtonData* mpFirstBtn; + Idle maWizardLayoutIdle; + Size maPageSize; + ImplWizPageData* mpFirstPage; + ImplWizButtonData* mpFirstBtn; VclPtr<TabPage> mpCurTabPage; VclPtr<PushButton> mpPrevBtn; VclPtr<PushButton> mpNextBtn; VclPtr<vcl::Window> mpViewWindow; sal_uInt16 mnCurLevel; - WindowAlign meViewAlign; - Link<> maActivateHdl; - Link<> maDeactivateHdl; - sal_Int16 mnLeftAlignCount; - bool mbEmptyViewMargin; + WindowAlign meViewAlign; + Link<WizardDialog*,void> maActivateHdl; + sal_Int16 mnLeftAlignCount; + bool mbEmptyViewMargin; DECL_DLLPRIVATE_LINK_TYPED( ImplHandleWizardLayoutTimerHdl, Idle*, void ); bool hasWizardPendingLayout() const; @@ -276,7 +275,7 @@ public: void SetPageSizePixel( const Size& rSize ) { maPageSize = rSize; } const Size& GetPageSizePixel() const { return maPageSize; } - void SetActivatePageHdl( const Link<>& rLink ) { maActivateHdl = rLink; } + void SetActivatePageHdl( const Link<WizardDialog*,void>& rLink ) { maActivateHdl = rLink; } }; #endif // INCLUDED_SVTOOLS_WIZDLG_HXX |