summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tpformula.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/tpformula.hxx')
-rw-r--r--sc/source/ui/inc/tpformula.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sc/source/ui/inc/tpformula.hxx b/sc/source/ui/inc/tpformula.hxx
index cf901f130d4e..7397d062d31d 100644
--- a/sc/source/ui/inc/tpformula.hxx
+++ b/sc/source/ui/inc/tpformula.hxx
@@ -33,7 +33,7 @@ class ScTpFormulaOptions : public SfxTabPage
public:
using SfxTabPage::DeactivatePage;
- static SfxTabPage* Create (vcl::Window* pParent, const SfxItemSet* rCoreSet);
+ static VclPtr<SfxTabPage> Create (vcl::Window* pParent, const SfxItemSet* rCoreSet);
virtual bool FillItemSet(SfxItemSet* rCoreSet) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet* rCoreSet ) SAL_OVERRIDE;
@@ -42,7 +42,7 @@ public:
private:
explicit ScTpFormulaOptions(vcl::Window* pParent, const SfxItemSet& rCoreSet);
virtual ~ScTpFormulaOptions();
-
+ virtual void dispose() SAL_OVERRIDE;
void ResetSeparators();
void OnFocusSeparatorInput(Edit* pEdit);
void UpdateCustomCalcRadioButtons(bool bDefault);
@@ -56,20 +56,20 @@ private:
DECL_LINK( SepEditOnFocusHdl, Edit* );
private:
- ListBox* mpLbFormulaSyntax;
- CheckBox* mpCbEnglishFuncName;
+ VclPtr<ListBox> mpLbFormulaSyntax;
+ VclPtr<CheckBox> mpCbEnglishFuncName;
- RadioButton* mpBtnCustomCalcDefault;
- RadioButton* mpBtnCustomCalcCustom;
- PushButton* mpBtnCustomCalcDetails;
+ VclPtr<RadioButton> mpBtnCustomCalcDefault;
+ VclPtr<RadioButton> mpBtnCustomCalcCustom;
+ VclPtr<PushButton> mpBtnCustomCalcDetails;
- Edit* mpEdSepFuncArg;
- Edit* mpEdSepArrayCol;
- Edit* mpEdSepArrayRow;
- PushButton* mpBtnSepReset;
+ VclPtr<Edit> mpEdSepFuncArg;
+ VclPtr<Edit> mpEdSepArrayCol;
+ VclPtr<Edit> mpEdSepArrayRow;
+ VclPtr<PushButton> mpBtnSepReset;
- ListBox* mpLbOOXMLRecalcOptions;
- ListBox* mpLbODFRecalcOptions;
+ VclPtr<ListBox> mpLbOOXMLRecalcOptions;
+ VclPtr<ListBox> mpLbODFRecalcOptions;
/** Stores old separator value of currently focused separator edit box.
This value is used to revert undesired value change. */