summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-03-15 10:47:24 +0000
committerOliver Bolte <obo@openoffice.org>2005-03-15 10:47:24 +0000
commit54d62532ffa3bd24d47c51bb976b2fb6ffecfa54 (patch)
tree25c6f4d6a1975bbd3cb04aa3c61d151dc743964d /sfx2
parent7cd0921d96ab74576bc088e25277330d1d2411c5 (diff)
INTEGRATION: CWS mav17 (1.2.382); FILE MERGED
2005/03/07 10:30:09 mav 1.2.382.1: #i32095# remove limit for maximal length of a password
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/passwd.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/sfx2/source/dialog/passwd.cxx b/sfx2/source/dialog/passwd.cxx
index 0bf38e85ba59..9e183187a38e 100644
--- a/sfx2/source/dialog/passwd.cxx
+++ b/sfx2/source/dialog/passwd.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: passwd.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: svesik $ $Date: 2004-04-21 13:13:14 $
+ * last change: $Author: obo $ $Date: 2005-03-15 11:47:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -75,8 +75,6 @@
#include "dialog.hrc"
#include "passwd.hrc"
-#define MAX_PASSWORD_LEN ((USHORT)16)
-
// -----------------------------------------------------------------------
#if (SUPD < 555)
@@ -143,9 +141,6 @@ SfxPasswordDialog::SfxPasswordDialog( Window* pParent, const String* pGroupText
aLink = LINK( this, SfxPasswordDialog, OKHdl );
maOKBtn.SetClickHdl( aLink );
- maPasswordED.SetMaxTextLen( MAX_PASSWORD_LEN );
- maConfirmED.SetMaxTextLen( MAX_PASSWORD_LEN );
-
if ( pGroupText )
maPasswordBox.SetText( *pGroupText );
}
@@ -154,7 +149,7 @@ SfxPasswordDialog::SfxPasswordDialog( Window* pParent, const String* pGroupText
void SfxPasswordDialog::SetMinLen( USHORT nLen )
{
- mnMinLen = Min( nLen, MAX_PASSWORD_LEN );
+ mnMinLen = nLen;
EditModifyHdl( NULL );
}