summaryrefslogtreecommitdiff
path: root/cui/source/options/optctl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optctl.cxx')
-rw-r--r--cui/source/options/optctl.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/cui/source/options/optctl.cxx b/cui/source/options/optctl.cxx
index caaa0471294d..40203d831f41 100644
--- a/cui/source/options/optctl.cxx
+++ b/cui/source/options/optctl.cxx
@@ -57,6 +57,22 @@ SvxCTLOptionsPage::SvxCTLOptionsPage( vcl::Window* pParent, const SfxItemSet& rS
m_pNumeralsLB->SetDropDownLineCount( m_pNumeralsLB->GetEntryCount() );
}
+SvxCTLOptionsPage::~SvxCTLOptionsPage()
+{
+ dispose();
+}
+
+void SvxCTLOptionsPage::dispose()
+{
+ m_pSequenceCheckingCB.clear();
+ m_pRestrictedCB.clear();
+ m_pTypeReplaceCB.clear();
+ m_pMovementLogicalRB.clear();
+ m_pMovementVisualRB.clear();
+ m_pNumeralsLB.clear();
+ SfxTabPage::dispose();
+}
+
SfxTabPage* SvxCTLOptionsPage::Create( vcl::Window* pParent, const SfxItemSet* rAttrSet )
{
return new SvxCTLOptionsPage( pParent, *rAttrSet );