diff options
author | Philipp Lohmann <Philipp.Lohmann@Sun.COM> | 2009-10-23 13:26:54 +0200 |
---|---|---|
committer | Philipp Lohmann <Philipp.Lohmann@Sun.COM> | 2009-10-23 13:26:54 +0200 |
commit | 6dfd9a62e8f05fd02db5caa5600b16d20bb165b0 (patch) | |
tree | 22852e90d1b289e42efea4ff8ae0af8a8ce901bb /sfx2/inc | |
parent | 865c27111a698032ff87699ad3374d183e9d16c5 (diff) |
#i90373# allow only ascii characters in PDF passwords
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/passwd.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/inc/sfx2/passwd.hxx b/sfx2/inc/sfx2/passwd.hxx index 2cc5ba1133..d3d4ff2eaa 100644 --- a/sfx2/inc/sfx2/passwd.hxx +++ b/sfx2/inc/sfx2/passwd.hxx @@ -68,10 +68,9 @@ private: USHORT mnMinLen; USHORT mnExtras; -//#if 0 // _SOLAR__PRIVATE + bool mbAsciiOnly; DECL_DLLPRIVATE_LINK( EditModifyHdl, Edit* ); DECL_DLLPRIVATE_LINK( OKHdl, OKButton* ); -//#endif public: SfxPasswordDialog( Window* pParent, const String* pGroupText = NULL ); @@ -84,6 +83,7 @@ public: void SetMaxLen( USHORT Len ); void SetEditHelpId( ULONG nId ) { maPasswordED.SetHelpId( nId ); } void ShowExtras( USHORT nExtras ) { mnExtras = nExtras; } + void AllowAsciiOnly( bool i_bAsciiOnly = true ) { mbAsciiOnly = i_bAsciiOnly; } virtual short Execute(); }; |