diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-03-04 16:14:56 +0100 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-03-04 16:14:56 +0100 |
commit | 7cd3ea794099e257d99748908855e61aa9df89eb (patch) | |
tree | 4395ce632e89661cba0c0cbb34e0f398d3836965 /cui/source/inc | |
parent | 5d80039860ebc67494e489137138fbc935089cc0 (diff) |
#i109634# password to open/modify dialog
Diffstat (limited to 'cui/source/inc')
-rwxr-xr-x | cui/source/inc/passwdomdlg.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cui/source/inc/passwdomdlg.hxx b/cui/source/inc/passwdomdlg.hxx index 5fe47f37b75f..d28cc4548a59 100755 --- a/cui/source/inc/passwdomdlg.hxx +++ b/cui/source/inc/passwdomdlg.hxx @@ -27,10 +27,10 @@ #ifndef _CUI_PASSWDOMDLG_HXX_ #define _CUI_PASSWDOMDLG_HXX_ -#include <boost/shared_ptr.hpp> #include <sfx2/basedlgs.hxx> +#include <memory> ////////////////////////////////////////////////////////////////////// @@ -38,18 +38,20 @@ struct PasswordToOpenModifyDialog_Impl; class PasswordToOpenModifyDialog : public SfxModalDialog { - boost::shared_ptr< PasswordToOpenModifyDialog_Impl > m_pImpl; + std::auto_ptr< PasswordToOpenModifyDialog_Impl > m_pImpl; // disallow use of copy c-tor and assignment operator PasswordToOpenModifyDialog( const PasswordToOpenModifyDialog & ); PasswordToOpenModifyDialog & operator = ( const PasswordToOpenModifyDialog & ); public: - PasswordToOpenModifyDialog( Window * pParent ); + PasswordToOpenModifyDialog( Window * pParent, sal_uInt16 nMinPasswdLen, sal_uInt16 nMaxPasswdLen /* 0 -> no max len enforced */); virtual ~PasswordToOpenModifyDialog(); + // AbstractPasswordToOpenModifyDialog virtual String GetPasswordToOpen() const; virtual String GetPasswordToModify() const; + virtual bool IsRecommendToOpenReadonly() const; }; ////////////////////////////////////////////////////////////////////// |