diff options
Diffstat (limited to 'sc/source/ui/miscdlgs/mtrindlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/mtrindlg.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sc/source/ui/miscdlgs/mtrindlg.cxx b/sc/source/ui/miscdlgs/mtrindlg.cxx index 7651d8310bd8..ce23d3797014 100644 --- a/sc/source/ui/miscdlgs/mtrindlg.cxx +++ b/sc/source/ui/miscdlgs/mtrindlg.cxx @@ -58,6 +58,18 @@ ScMetricInputDlg::ScMetricInputDlg( vcl::Window* pParent, m_pBtnDefVal->Check( nCurrentValue == nDefaultValue ); } +ScMetricInputDlg::~ScMetricInputDlg() +{ + disposeOnce(); +} + +void ScMetricInputDlg::dispose() +{ + m_pEdValue.clear(); + m_pBtnDefVal.clear(); + ModalDialog::dispose(); +} + long ScMetricInputDlg::GetInputValue( FieldUnit eUnit ) const { /* |