diff options
Diffstat (limited to 'uui/source/passworddlg.hxx')
-rwxr-xr-x[-rw-r--r--] | uui/source/passworddlg.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/uui/source/passworddlg.hxx b/uui/source/passworddlg.hxx index f69d08c210d4..0195ee5e7f5d 100644..100755 --- a/uui/source/passworddlg.hxx +++ b/uui/source/passworddlg.hxx @@ -38,21 +38,28 @@ #include <vcl/fixed.hxx> //============================================================================ + class PasswordDialog : public ModalDialog { FixedText aFTPassword; Edit aEDPassword; + FixedText aFTConfirmPassword; + Edit aEDConfirmPassword; OKButton aOKBtn; CancelButton aCancelBtn; HelpButton aHelpBtn; FixedLine aFixedLine1; + sal_uInt16 nMinLen; + String aPasswdMismatch; DECL_LINK( OKHdl_Impl, OKButton * ); public: - PasswordDialog( Window* pParent, ::com::sun::star::task::PasswordRequestMode nDlgMode, ResMgr * pResMgr, ::rtl::OUString& aDocURL, bool bOpenToModify = false ); + PasswordDialog( Window* pParent, ::com::sun::star::task::PasswordRequestMode nDlgMode, ResMgr * pResMgr, ::rtl::OUString& aDocURL, + bool bOpenToModify = false, bool bIsSimplePasswordRequest = false ); + void SetMinLen( sal_uInt16 nMin ) { nMinLen = nMin; } String GetPassword() const { return aEDPassword.GetText(); } private: |