summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/headerfooterdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/inc/headerfooterdlg.hxx')
-rw-r--r--sd/source/ui/inc/headerfooterdlg.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/sd/source/ui/inc/headerfooterdlg.hxx b/sd/source/ui/inc/headerfooterdlg.hxx
index 6f19a555b962..4206cd4dc62b 100644
--- a/sd/source/ui/inc/headerfooterdlg.hxx
+++ b/sd/source/ui/inc/headerfooterdlg.hxx
@@ -44,17 +44,17 @@ private:
DECL_LINK( ClickApplyHdl, void * );
DECL_LINK( ClickCancelHdl, void * );
- TabControl* mpTabCtrl;
+ VclPtr<TabControl> mpTabCtrl;
- HeaderFooterTabPage* mpSlideTabPage;
- HeaderFooterTabPage* mpNotesHandoutsTabPage;
+ VclPtr<HeaderFooterTabPage> mpSlideTabPage;
+ VclPtr<HeaderFooterTabPage> mpNotesHandoutsTabPage;
sal_uInt16 mnSlidesId;
sal_uInt16 mnNotesId;
- PushButton* maPBApplyToAll;
- PushButton* maPBApply;
- CancelButton* maPBCancel;
+ VclPtr<PushButton> maPBApplyToAll;
+ VclPtr<PushButton> maPBApply;
+ VclPtr<CancelButton> maPBCancel;
HeaderFooterSettings maSlideSettings;
HeaderFooterSettings maNotesHandoutSettings;
@@ -69,6 +69,7 @@ private:
public:
HeaderFooterDialog( ViewShell* pViewShell, vcl::Window* pParent, SdDrawDocument* pDoc, SdPage* pCurrentPage );
virtual ~HeaderFooterDialog();
+ virtual void dispose() SAL_OVERRIDE;
void ApplyToAll();
void Apply();