diff options
Diffstat (limited to 'sc/source/ui/miscdlgs/groupdlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/groupdlg.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sc/source/ui/miscdlgs/groupdlg.cxx b/sc/source/ui/miscdlgs/groupdlg.cxx index 62b726b41570..0b85da75efd6 100644 --- a/sc/source/ui/miscdlgs/groupdlg.cxx +++ b/sc/source/ui/miscdlgs/groupdlg.cxx @@ -42,13 +42,21 @@ ScGroupDlg::ScGroupDlg(vcl::Window* pParent, bool bUngroup, bool bRows) m_pBtnRows->GrabFocus(); } -bool ScGroupDlg::GetColsChecked() const +ScGroupDlg::~ScGroupDlg() { - return m_pBtnCols->IsChecked(); + disposeOnce(); } -ScGroupDlg::~ScGroupDlg() +void ScGroupDlg::dispose() { + m_pBtnRows.clear(); + m_pBtnCols.clear(); + ModalDialog::dispose(); +} + +bool ScGroupDlg::GetColsChecked() const +{ + return m_pBtnCols->IsChecked(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |