summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/subtdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/subtdlg.hxx')
-rw-r--r--sc/source/ui/inc/subtdlg.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/inc/subtdlg.hxx b/sc/source/ui/inc/subtdlg.hxx
index 6496689d3a75..749e9d94dfcb 100644
--- a/sc/source/ui/inc/subtdlg.hxx
+++ b/sc/source/ui/inc/subtdlg.hxx
@@ -28,8 +28,10 @@ class ScSubTotalDlg : public SfxTabDialog
{
public:
ScSubTotalDlg(vcl::Window* pParent, const SfxItemSet* pArgSet);
+ virtual ~ScSubTotalDlg();
+ virtual void dispose() SAL_OVERRIDE;
private:
- PushButton* m_pBtnRemove;
+ VclPtr<PushButton> m_pBtnRemove;
DECL_LINK( RemoveHdl, PushButton * );
};