diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-19 09:40:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-19 09:40:38 +0200 |
commit | df64e7c709fc6d771546554b4026583c55609105 (patch) | |
tree | 04dac4d18b94c497f4be9f4443390bf3e170ef15 /writerperfect | |
parent | 023e945ab298bfa6e73eb6b82789fc2fca97f247 (diff) |
loplugin:vclwidgets
Change-Id: Id6f15ca62c6ba32ea462e45a51e4cea597dae73d
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/common/WPFTEncodingDialog.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/writerperfect/source/common/WPFTEncodingDialog.cxx b/writerperfect/source/common/WPFTEncodingDialog.cxx index fa0be53f11ef..f6afb903fd33 100644 --- a/writerperfect/source/common/WPFTEncodingDialog.cxx +++ b/writerperfect/source/common/WPFTEncodingDialog.cxx @@ -149,6 +149,7 @@ WPFTEncodingDialog::WPFTEncodingDialog( WPFTEncodingDialog::~WPFTEncodingDialog() { + disposeOnce(); } OUString WPFTEncodingDialog::GetEncoding() const @@ -172,6 +173,14 @@ IMPL_LINK(WPFTEncodingDialog, DoubleClickHdl, ListBox *, pLb) return 0; } +void WPFTEncodingDialog::dispose() +{ + m_pLbCharset.disposeAndClear(); + m_pBtnOk.disposeAndClear(); + m_pBtnCancel.disposeAndClear(); + ModalDialog::dispose(); +} + } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |