diff options
Diffstat (limited to 'sc/source/ui/optdlg/opredlin.cxx')
-rw-r--r-- | sc/source/ui/optdlg/opredlin.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sc/source/ui/optdlg/opredlin.cxx b/sc/source/ui/optdlg/opredlin.cxx index b19eac983ea9..f0deec661e62 100644 --- a/sc/source/ui/optdlg/opredlin.cxx +++ b/sc/source/ui/optdlg/opredlin.cxx @@ -57,11 +57,21 @@ ScRedlineOptionsTabPage::ScRedlineOptionsTabPage( vcl::Window* pParent, ScRedlineOptionsTabPage::~ScRedlineOptionsTabPage() { + disposeOnce(); } -SfxTabPage* ScRedlineOptionsTabPage::Create( vcl::Window* pParent, const SfxItemSet* rSet ) +void ScRedlineOptionsTabPage::dispose() { - return new ScRedlineOptionsTabPage( pParent, *rSet ); + m_pContentColorLB.clear(); + m_pRemoveColorLB.clear(); + m_pInsertColorLB.clear(); + m_pMoveColorLB.clear(); + SfxTabPage::dispose(); +} + +VclPtr<SfxTabPage> ScRedlineOptionsTabPage::Create( vcl::Window* pParent, const SfxItemSet* rSet ) +{ + return VclPtr<ScRedlineOptionsTabPage>::Create( pParent, *rSet ); } bool ScRedlineOptionsTabPage::FillItemSet( SfxItemSet* /* rSet */ ) |