summaryrefslogtreecommitdiff
path: root/uui/source/masterpasscrtdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/masterpasscrtdlg.hxx')
-rw-r--r--uui/source/masterpasscrtdlg.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/uui/source/masterpasscrtdlg.hxx b/uui/source/masterpasscrtdlg.hxx
index 31e9eb60ab87..b8279fcec363 100644
--- a/uui/source/masterpasscrtdlg.hxx
+++ b/uui/source/masterpasscrtdlg.hxx
@@ -32,9 +32,9 @@
class MasterPasswordCreateDialog : public ModalDialog
{
private:
- Edit* m_pEDMasterPasswordCrt;
- Edit* m_pEDMasterPasswordRepeat;
- OKButton* m_pOKBtn;
+ VclPtr<Edit> m_pEDMasterPasswordCrt;
+ VclPtr<Edit> m_pEDMasterPasswordRepeat;
+ VclPtr<OKButton> m_pOKBtn;
DECL_LINK(OKHdl_Impl, void *);
@@ -42,6 +42,8 @@ private:
public:
MasterPasswordCreateDialog( vcl::Window* pParent, ResMgr * pResMgr );
+ virtual ~MasterPasswordCreateDialog();
+ virtual void dispose() SAL_OVERRIDE;
OUString GetMasterPassword() const { return m_pEDMasterPasswordCrt->GetText(); }