diff options
Diffstat (limited to 'sc/source/ui/inc/opredlin.hxx')
-rw-r--r-- | sc/source/ui/inc/opredlin.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/inc/opredlin.hxx b/sc/source/ui/inc/opredlin.hxx index 0e5e07c6b518..adfb4062a266 100644 --- a/sc/source/ui/inc/opredlin.hxx +++ b/sc/source/ui/inc/opredlin.hxx @@ -36,10 +36,10 @@ class ScRedlineOptionsTabPage : public SfxTabPage { - ColorListBox* m_pContentColorLB; - ColorListBox* m_pRemoveColorLB; - ColorListBox* m_pInsertColorLB; - ColorListBox* m_pMoveColorLB; + VclPtr<ColorListBox> m_pContentColorLB; + VclPtr<ColorListBox> m_pRemoveColorLB; + VclPtr<ColorListBox> m_pInsertColorLB; + VclPtr<ColorListBox> m_pMoveColorLB; OUString aAuthorStr; DECL_LINK(ColorHdl, void *); @@ -47,8 +47,8 @@ public: ScRedlineOptionsTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); virtual ~ScRedlineOptionsTabPage(); - - static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); + virtual void dispose() SAL_OVERRIDE; + static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE; |