summaryrefslogtreecommitdiff
path: root/uui/source/passworddlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/passworddlg.cxx')
-rw-r--r--uui/source/passworddlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx
index be61bccdbb99..1ebc8b58d627 100644
--- a/uui/source/passworddlg.cxx
+++ b/uui/source/passworddlg.cxx
@@ -160,7 +160,7 @@ PasswordDialog::PasswordDialog(
IMPL_LINK_NOARG(PasswordDialog, OKHdl_Impl)
{
- bool bEDPasswdValid = aEDPassword.GetText().Len() >= nMinLen;
+ bool bEDPasswdValid = aEDPassword.GetText().getLength() >= nMinLen;
bool bPasswdMismatch = aEDConfirmPassword.GetText() != aEDPassword.GetText();
bool bValid = (!aEDConfirmPassword.IsVisible() && bEDPasswdValid) ||
(aEDConfirmPassword.IsVisible() && bEDPasswdValid && !bPasswdMismatch);