summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/crdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/crdlg.hxx')
-rw-r--r--sc/source/ui/inc/crdlg.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/source/ui/inc/crdlg.hxx b/sc/source/ui/inc/crdlg.hxx
index 571d04a20bea..cc0b941e7da2 100644
--- a/sc/source/ui/inc/crdlg.hxx
+++ b/sc/source/ui/inc/crdlg.hxx
@@ -30,11 +30,13 @@ class ScColOrRowDlg : public ModalDialog
public:
ScColOrRowDlg(vcl::Window* pParent, const OUString& rStrTitle,
const OUString& rStrLabel, bool bColDefault = true);
+ virtual ~ScColOrRowDlg();
+ virtual void dispose() SAL_OVERRIDE;
private:
- VclFrame* m_pFrame;
- RadioButton* m_pBtnRows;
- RadioButton* m_pBtnCols;
- OKButton* m_pBtnOk;
+ VclPtr<VclFrame> m_pFrame;
+ VclPtr<RadioButton> m_pBtnRows;
+ VclPtr<RadioButton> m_pBtnCols;
+ VclPtr<OKButton> m_pBtnOk;
DECL_LINK(OkHdl, void *);
};