summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/delcodlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/delcodlg.hxx')
-rw-r--r--sc/source/ui/inc/delcodlg.hxx19
1 files changed, 10 insertions, 9 deletions
diff --git a/sc/source/ui/inc/delcodlg.hxx b/sc/source/ui/inc/delcodlg.hxx
index 6bc898a82134..a2741a6448a5 100644
--- a/sc/source/ui/inc/delcodlg.hxx
+++ b/sc/source/ui/inc/delcodlg.hxx
@@ -27,15 +27,15 @@
class ScDeleteContentsDlg : public ModalDialog
{
private:
- CheckBox* aBtnDelAll;
- CheckBox* aBtnDelStrings;
- CheckBox* aBtnDelNumbers;
- CheckBox* aBtnDelDateTime;
- CheckBox* aBtnDelFormulas;
- CheckBox* aBtnDelNotes;
- CheckBox* aBtnDelAttrs;
- CheckBox* aBtnDelObjects;
- OKButton* aBtnOk;
+ VclPtr<CheckBox> aBtnDelAll;
+ VclPtr<CheckBox> aBtnDelStrings;
+ VclPtr<CheckBox> aBtnDelNumbers;
+ VclPtr<CheckBox> aBtnDelDateTime;
+ VclPtr<CheckBox> aBtnDelFormulas;
+ VclPtr<CheckBox> aBtnDelNotes;
+ VclPtr<CheckBox> aBtnDelAttrs;
+ VclPtr<CheckBox> aBtnDelObjects;
+ VclPtr<OKButton> aBtnOk;
bool bObjectsDisabled;
@@ -49,6 +49,7 @@ public:
ScDeleteContentsDlg( vcl::Window* pParent,
InsertDeleteFlags nCheckDefaults = IDF_NONE );
virtual ~ScDeleteContentsDlg();
+ virtual void dispose() SAL_OVERRIDE;
void DisableObjects();
InsertDeleteFlags GetDelContentsCmdBits() const;