summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tpprint.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/tpprint.hxx')
-rw-r--r--sc/source/ui/inc/tpprint.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/inc/tpprint.hxx b/sc/source/ui/inc/tpprint.hxx
index f40137682c75..5b8370f13267 100644
--- a/sc/source/ui/inc/tpprint.hxx
+++ b/sc/source/ui/inc/tpprint.hxx
@@ -25,15 +25,15 @@
class ScTpPrintOptions : public SfxTabPage
{
- CheckBox* m_pSkipEmptyPagesCB;
- CheckBox* m_pSelectedSheetsCB;
- CheckBox* m_pForceBreaksCB;
+ VclPtr<CheckBox> m_pSkipEmptyPagesCB;
+ VclPtr<CheckBox> m_pSelectedSheetsCB;
+ VclPtr<CheckBox> m_pForceBreaksCB;
ScTpPrintOptions( vcl::Window* pParent, const SfxItemSet& rCoreSet );
- virtual ~ScTpPrintOptions();
-
public:
- static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rCoreSet );
+ virtual ~ScTpPrintOptions();
+ virtual void dispose() SAL_OVERRIDE;
+ static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rCoreSet );
virtual bool FillItemSet( SfxItemSet* rCoreSet ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet* rCoreSet ) SAL_OVERRIDE;
using SfxTabPage::DeactivatePage;