summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/colorformat.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/colorformat.hxx')
-rw-r--r--sc/source/ui/inc/colorformat.hxx29
1 files changed, 15 insertions, 14 deletions
diff --git a/sc/source/ui/inc/colorformat.hxx b/sc/source/ui/inc/colorformat.hxx
index a3003755ca4b..e5acc1d01def 100644
--- a/sc/source/ui/inc/colorformat.hxx
+++ b/sc/source/ui/inc/colorformat.hxx
@@ -23,24 +23,23 @@ class ScDocument;
class ScDataBarSettingsDlg : public ModalDialog
{
private:
- OKButton* mpBtnOk;
- CancelButton* mpBtnCancel;
+ VclPtr<OKButton> mpBtnOk;
+ VclPtr<CancelButton> mpBtnCancel;
- ColorListBox* mpLbPos;
- ColorListBox* mpLbNeg;
- ColorListBox* mpLbAxisCol;
+ VclPtr<ColorListBox> mpLbPos;
+ VclPtr<ColorListBox> mpLbNeg;
+ VclPtr<ColorListBox> mpLbAxisCol;
- ListBox* mpLbTypeMin;
- ListBox* mpLbTypeMax;
- ListBox* mpLbFillType;
- ListBox* mpLbAxisPos;
+ VclPtr<ListBox> mpLbTypeMin;
+ VclPtr<ListBox> mpLbTypeMax;
+ VclPtr<ListBox> mpLbAxisPos;
- Edit* mpEdMin;
- Edit* mpEdMax;
- Edit* mpLenMin;
- Edit* mpLenMax;
+ VclPtr<Edit> mpEdMin;
+ VclPtr<Edit> mpEdMax;
+ VclPtr<Edit> mpLenMin;
+ VclPtr<Edit> mpLenMax;
- CheckBox *mpCbOnlyBar;
+ VclPtr<CheckBox> mpCbOnlyBar;
OUString maStrWarnSameValue;
SvNumberFormatter* mpNumberFormatter;
@@ -56,6 +55,8 @@ private:
public:
ScDataBarSettingsDlg(vcl::Window* pParent, const ScDataBarFormatData& rData, ScDocument* pDoc, const ScAddress& rPos);
+ virtual ~ScDataBarSettingsDlg();
+ virtual void dispose() SAL_OVERRIDE;
ScDataBarFormatData* GetData();
};