summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tpstat.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/tpstat.hxx')
-rw-r--r--sc/source/ui/inc/tpstat.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/inc/tpstat.hxx b/sc/source/ui/inc/tpstat.hxx
index 96f141fdbdd8..a5cbdf7a925e 100644
--- a/sc/source/ui/inc/tpstat.hxx
+++ b/sc/source/ui/inc/tpstat.hxx
@@ -27,20 +27,20 @@
class ScDocStatPage: public SfxTabPage
{
public:
- static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rSet );
+ static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet );
+ virtual ~ScDocStatPage();
+ virtual void dispose() SAL_OVERRIDE;
private:
ScDocStatPage( vcl::Window *pParent, const SfxItemSet& rSet );
- virtual ~ScDocStatPage();
-
protected:
virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
virtual void Reset ( const SfxItemSet* rSet ) SAL_OVERRIDE;
private:
- FixedText* m_pFtTables;
- FixedText* m_pFtCells;
- FixedText* m_pFtPages;
+ VclPtr<FixedText> m_pFtTables;
+ VclPtr<FixedText> m_pFtCells;
+ VclPtr<FixedText> m_pFtPages;
};
#endif