summaryrefslogtreecommitdiff
path: root/uui/source/passwordcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/passwordcontainer.cxx')
-rw-r--r--uui/source/passwordcontainer.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/passwordcontainer.cxx b/uui/source/passwordcontainer.cxx
index ef8fef56a10f..de057886e792 100644
--- a/uui/source/passwordcontainer.cxx
+++ b/uui/source/passwordcontainer.cxx
@@ -61,9 +61,9 @@ bool fillContinuation(
}
return false;
}
- else if (aRec.UserList.getLength() != 0)
+ else if (aRec.UserList.hasElements())
{
- if (aRec.UserList[0].Passwords.getLength() == 0)
+ if (!aRec.UserList[0].Passwords.hasElements())
{
// Password sequence can be empty, for instance if master
// password was not given (e.g. master pw dialog canceled)
@@ -176,7 +176,7 @@ bool PasswordContainerHelper::handleAuthenticationRequest(
if ( !rURL.isEmpty() )
aRec = m_xPasswordContainer->find(rURL, xIH1);
- if ( aRec.UserList.getLength() == 0 )
+ if ( !aRec.UserList.hasElements() )
{
// compat: try server name.
aRec = m_xPasswordContainer->find(rRequest.ServerName, xIH1);
@@ -200,7 +200,7 @@ bool PasswordContainerHelper::handleAuthenticationRequest(
aRec = m_xPasswordContainer->findForName(
rURL, rRequest.UserName, xIH1);
- if ( aRec.UserList.getLength() == 0 )
+ if ( !aRec.UserList.hasElements() )
{
// compat: try server name.
aRec = m_xPasswordContainer->findForName(