summaryrefslogtreecommitdiff
path: root/uui/source/passworddlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/passworddlg.hxx')
-rw-r--r--uui/source/passworddlg.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/uui/source/passworddlg.hxx b/uui/source/passworddlg.hxx
index 3cec5ca190d3..712bcfae0ee3 100644
--- a/uui/source/passworddlg.hxx
+++ b/uui/source/passworddlg.hxx
@@ -32,11 +32,11 @@
class PasswordDialog : public ModalDialog
{
- FixedText* m_pFTPassword;
- Edit* m_pEDPassword;
- FixedText* m_pFTConfirmPassword;
- Edit* m_pEDConfirmPassword;
- OKButton* m_pOKBtn;
+ VclPtr<FixedText> m_pFTPassword;
+ VclPtr<Edit> m_pEDPassword;
+ VclPtr<FixedText> m_pFTConfirmPassword;
+ VclPtr<Edit> m_pEDConfirmPassword;
+ VclPtr<OKButton> m_pOKBtn;
sal_uInt16 nMinLen;
OUString aPasswdMismatch;
@@ -46,6 +46,8 @@ class PasswordDialog : public ModalDialog
public:
PasswordDialog( vcl::Window* pParent, ::com::sun::star::task::PasswordRequestMode nDlgMode, ResMgr * pResMgr, const OUString& aDocURL,
bool bOpenToModify = false, bool bIsSimplePasswordRequest = false );
+ virtual ~PasswordDialog();
+ virtual void dispose() SAL_OVERRIDE;
void SetMinLen( sal_uInt16 nMin ) { nMinLen = nMin; }
OUString GetPassword() const { return m_pEDPassword->GetText(); }