diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 11:51:58 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-19 22:07:58 -0200 |
commit | 55b6485978bbfe17c1355909a5e27d8c846a4ee8 (patch) | |
tree | 2581d37bd207a65aa062bcff7576a93f99cbafe0 /ucbhelper/source/provider/simpleauthenticationrequest.cxx | |
parent | 688551303ee5b918841b64ac85f06ab12989b7fc (diff) |
Fix for fdo43460 Part XLI getLength() to isEmpty()
Part XLI
Modules
ucbhelper, unodevtools
Diffstat (limited to 'ucbhelper/source/provider/simpleauthenticationrequest.cxx')
-rw-r--r-- | ucbhelper/source/provider/simpleauthenticationrequest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucbhelper/source/provider/simpleauthenticationrequest.cxx b/ucbhelper/source/provider/simpleauthenticationrequest.cxx index f9353653b87b..c3974468ce5e 100644 --- a/ucbhelper/source/provider/simpleauthenticationrequest.cxx +++ b/ucbhelper/source/provider/simpleauthenticationrequest.cxx @@ -52,14 +52,14 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest( aRequest.Classification = task::InteractionClassification_ERROR; aRequest.ServerName = rServerName; // aRequest.Diagnostic = // OUString - aRequest.HasRealm = ( rRealm.getLength() > 0 ); + aRequest.HasRealm = !rRealm.isEmpty(); if ( aRequest.HasRealm ) aRequest.Realm = rRealm; aRequest.HasUserName = sal_True; aRequest.UserName = rUserName; aRequest.HasPassword = sal_True; aRequest.Password = rPassword; - aRequest.HasAccount = ( rAccount.getLength() > 0 ); + aRequest.HasAccount = !rAccount.isEmpty(); if ( aRequest.HasAccount ) aRequest.Account = rAccount; aRequest.URL = rURL; |