diff options
Diffstat (limited to 'sc/source/ui/dbgui/dpgroupdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/dpgroupdlg.cxx | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/dpgroupdlg.cxx b/sc/source/ui/dbgui/dpgroupdlg.cxx index 17493333b5fb..7bbb0fd80985 100644 --- a/sc/source/ui/dbgui/dpgroupdlg.cxx +++ b/sc/source/ui/dbgui/dpgroupdlg.cxx @@ -173,6 +173,24 @@ ScDPNumGroupDlg::ScDPNumGroupDlg( vcl::Window* pParent, const ScDPNumGroupInfo& mpEdBy->GrabFocus(); } +ScDPNumGroupDlg::~ScDPNumGroupDlg() +{ + disposeOnce(); +} + +void ScDPNumGroupDlg::dispose() +{ + mpRbAutoStart.clear(); + mpRbManStart.clear(); + mpEdStart.clear(); + mpRbAutoEnd.clear(); + mpRbManEnd.clear(); + mpEdEnd.clear(); + mpEdBy.clear(); + ModalDialog::dispose(); +} + + ScDPNumGroupInfo ScDPNumGroupDlg::GetGroupInfo() const { ScDPNumGroupInfo aInfo; @@ -259,6 +277,27 @@ ScDPDateGroupDlg::ScDPDateGroupDlg( vcl::Window* pParent, mpLbUnits->SetCheckButtonHdl( LINK( this, ScDPDateGroupDlg, CheckHdl ) ); } +ScDPDateGroupDlg::~ScDPDateGroupDlg() +{ + disposeOnce(); +} + +void ScDPDateGroupDlg::dispose() +{ + mpRbAutoStart.clear(); + mpRbManStart.clear(); + mpEdStart.clear(); + mpRbAutoEnd.clear(); + mpRbManEnd.clear(); + mpEdEnd.clear(); + mpRbNumDays.clear(); + mpRbUnits.clear(); + mpEdNumDays.clear(); + mpLbUnits.clear(); + mpBtnOk.clear(); + ModalDialog::dispose(); +} + ScDPNumGroupInfo ScDPDateGroupDlg::GetGroupInfo() const { ScDPNumGroupInfo aInfo; |