diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-05-12 16:13:15 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-05-12 16:15:13 +0200 |
commit | 837c864bb3e1c1ea868d3b6f65f2af1a4cfb03e1 (patch) | |
tree | 8846956f77761cd1a9e11d0405b0a2f61f147c96 /svl | |
parent | bf059373655c0bb8f69f2114caf4c305428879a2 (diff) |
Replace !var.size() by var.empty()
Change-Id: I936b59a5bf339d1520cbc10e51b1e9fdc937f0f3
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/passwordcontainer/passwordcontainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 52bdbcb17e20..dccff9585947 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -933,7 +933,7 @@ UrlRecord PasswordContainer::find( else { vector< ::rtl::OUString > aRM( DecodePasswords( aEncodedMP, aPass ) ); - if( !aRM.size() || !aPass.equals( aRM[0] ) ) + if( aRM.empty() || !aPass.equals( aRM[0] ) ) { bAskAgain = sal_True; aRMode = PasswordRequestMode_PASSWORD_REENTER; |