diff options
Diffstat (limited to 'uui/source/iahndl-authentication.cxx')
-rw-r--r-- | uui/source/iahndl-authentication.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index c76414334057..4a38c2e4b1d0 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -335,7 +335,7 @@ handleAuthenticationRequest_( if (aInfo.GetIsRememberPassword()) { if (!aPwContainerHelper.addRecord( - rURL.getLength() ? rURL : rRequest.ServerName, + !rURL.isEmpty() ? rURL : rRequest.ServerName, rtl::OUString(), // empty u/p -> sys creds uno::Sequence< rtl::OUString >(), xIH, @@ -350,7 +350,7 @@ handleAuthenticationRequest_( == ucb::RememberAuthentication_SESSION) { if (!aPwContainerHelper.addRecord( - rURL.getLength() ? rURL : rRequest.ServerName, + !rURL.isEmpty() ? rURL : rRequest.ServerName, rtl::OUString(), // empty u/p -> sys creds uno::Sequence< rtl::OUString >(), xIH, @@ -373,7 +373,7 @@ handleAuthenticationRequest_( if (aInfo.GetIsRememberPassword()) { if (!aPwContainerHelper.addRecord( - rURL.getLength() ? rURL : rRequest.ServerName, + !rURL.isEmpty() ? rURL : rRequest.ServerName, aInfo.GetUserName(), aPassList, xIH, @@ -388,7 +388,7 @@ handleAuthenticationRequest_( == ucb::RememberAuthentication_SESSION) { if (!aPwContainerHelper.addRecord( - rURL.getLength() ? rURL : rRequest.ServerName, + !rURL.isEmpty() ? rURL : rRequest.ServerName, aInfo.GetUserName(), aPassList, xIH, |