diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 22:05:49 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 22:07:59 -0200 |
commit | c571e8777d15fd1c3f8730a7c1325d75c746333d (patch) | |
tree | 12d0cc47280c0a6235c5ba40744cb8560095672f /uui/source/passwordcontainer.cxx | |
parent | 5738e07a78c5894d111ee6c6e0d07b56ff126b2c (diff) |
Fix for fdo43460 Part XLIII getLength() to isEmpty()
Part XLIII
Modules
uui
Diffstat (limited to 'uui/source/passwordcontainer.cxx')
-rw-r--r-- | uui/source/passwordcontainer.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/uui/source/passwordcontainer.cxx b/uui/source/passwordcontainer.cxx index 359aa977d1f8..2b2483216b21 100644 --- a/uui/source/passwordcontainer.cxx +++ b/uui/source/passwordcontainer.cxx @@ -178,8 +178,8 @@ bool PasswordContainerHelper::handleAuthenticationRequest( // Runtime / Persistent info avail for current auth request? rtl::OUString aResult = xUrlContainer->findUrl( - rURL.getLength() ? rURL : rRequest.ServerName ); - if ( aResult.getLength() > 0 ) + rURL.isEmpty() ? rRequest.ServerName : rURL ); + if ( !aResult.isEmpty() ) { if ( fillContinuation( true, rRequest, @@ -199,10 +199,10 @@ bool PasswordContainerHelper::handleAuthenticationRequest( { try { - if (rRequest.UserName.getLength() == 0) + if (rRequest.UserName.isEmpty()) { task::UrlRecord aRec; - if ( rURL.getLength() ) + if ( !rURL.isEmpty() ) aRec = xContainer->find(rURL, xIH); if ( aRec.UserList.getLength() == 0 ) @@ -225,7 +225,7 @@ bool PasswordContainerHelper::handleAuthenticationRequest( else { task::UrlRecord aRec; - if ( rURL.getLength() ) + if ( !rURL.isEmpty() ) aRec = xContainer->findForName( rURL, rRequest.UserName, xIH); @@ -265,7 +265,7 @@ bool PasswordContainerHelper::addRecord( { try { - if ( rUsername.getLength() ) + if ( !rUsername.isEmpty() ) { OSL_ENSURE( m_xPasswordContainer.is(), "Got no XPasswordContainer!" ); |