diff options
Diffstat (limited to 'uui/source/masterpassworddlg.hxx')
-rw-r--r-- | uui/source/masterpassworddlg.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/uui/source/masterpassworddlg.hxx b/uui/source/masterpassworddlg.hxx index 4b834d4fa5ed..1d37d0d93d78 100644 --- a/uui/source/masterpassworddlg.hxx +++ b/uui/source/masterpassworddlg.hxx @@ -30,13 +30,15 @@ class MasterPasswordDialog : public ModalDialog { - Edit* m_pEDMasterPassword; - OKButton* m_pOKBtn; + VclPtr<Edit> m_pEDMasterPassword; + VclPtr<OKButton> m_pOKBtn; DECL_LINK(OKHdl_Impl, void *); public: MasterPasswordDialog( vcl::Window* pParent, ::com::sun::star::task::PasswordRequestMode nDlgMode, ResMgr * pResMgr ); + virtual ~MasterPasswordDialog(); + virtual void dispose() SAL_OVERRIDE; OUString GetMasterPassword() const { return m_pEDMasterPassword->GetText(); } |