summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/condformatmgr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/condformatmgr.hxx')
-rw-r--r--sc/source/ui/inc/condformatmgr.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/source/ui/inc/condformatmgr.hxx b/sc/source/ui/inc/condformatmgr.hxx
index 6f577e4cf5b1..1d339884e19a 100644
--- a/sc/source/ui/inc/condformatmgr.hxx
+++ b/sc/source/ui/inc/condformatmgr.hxx
@@ -50,17 +50,18 @@ class ScCondFormatManagerDlg : public ModalDialog
public:
ScCondFormatManagerDlg(vcl::Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList, const ScAddress& rPos);
virtual ~ScCondFormatManagerDlg();
+ virtual void dispose() SAL_OVERRIDE;
ScConditionalFormatList* GetConditionalFormatList();
bool CondFormatsChanged() { return mbModified;}
private:
- PushButton *m_pBtnAdd;
- PushButton *m_pBtnRemove;
- PushButton *m_pBtnEdit;
+ VclPtr<PushButton> m_pBtnAdd;
+ VclPtr<PushButton> m_pBtnRemove;
+ VclPtr<PushButton> m_pBtnEdit;
ScConditionalFormatList* mpFormatList;
- ScCondFormatManagerWindow *m_pCtrlManager;
+ VclPtr<ScCondFormatManagerWindow> m_pCtrlManager;
ScDocument* mpDoc;
ScAddress maPos;