summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/passwd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/passwd.cxx')
-rw-r--r--sfx2/source/dialog/passwd.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/passwd.cxx b/sfx2/source/dialog/passwd.cxx
index 39b4096138b0..b02eaad1c579 100644
--- a/sfx2/source/dialog/passwd.cxx
+++ b/sfx2/source/dialog/passwd.cxx
@@ -53,9 +53,9 @@ IMPL_LINK_INLINE_START( SfxPasswordDialog, EditModifyHdl, Edit *, pEdit )
}
}
- bool bEnable = mpPassword1ED->GetText().Len() >= mnMinLen;
+ bool bEnable = mpPassword1ED->GetText().getLength() >= mnMinLen;
if( mpPassword2ED->IsVisible() )
- bEnable = (bEnable && (mpPassword2ED->GetText().Len() >= mnMinLen));
+ bEnable = (bEnable && (mpPassword2ED->GetText().getLength() >= mnMinLen));
mpOKBtn->Enable( bEnable );
return 0;
}
@@ -73,7 +73,7 @@ IMPL_LINK_NOARG(SfxPasswordDialog, OKHdl)
{
ErrorBox aBox( this, SfxResId( MSG_ERROR_WRONG_CONFIRM ) );
aBox.Execute();
- mpConfirm1ED->SetText( String() );
+ mpConfirm1ED->SetText( OUString() );
mpConfirm1ED->GrabFocus();
}
else