diff options
Diffstat (limited to 'sc/source/ui/inc/shtabdlg.hxx')
-rw-r--r-- | sc/source/ui/inc/shtabdlg.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/inc/shtabdlg.hxx b/sc/source/ui/inc/shtabdlg.hxx index 6c55a64d51f7..d0109a2735d4 100644 --- a/sc/source/ui/inc/shtabdlg.hxx +++ b/sc/source/ui/inc/shtabdlg.hxx @@ -28,13 +28,15 @@ class ScShowTabDlg : public ModalDialog { private: - VclFrame* m_pFrame; - ListBox* m_pLb; + VclPtr<VclFrame> m_pFrame; + VclPtr<ListBox> m_pLb; DECL_LINK( DblClkHdl, void * ); public: ScShowTabDlg( vcl::Window* pParent ); + virtual ~ScShowTabDlg(); + virtual void dispose() SAL_OVERRIDE; /** Sets dialog title, fixed text for listbox and help IDs. */ void SetDescription( |