[Libreoffice-commits] .: svl/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sat May 12 07:16:01 PDT 2012
svl/source/passwordcontainer/passwordcontainer.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 837c864bb3e1c1ea868d3b6f65f2af1a4cfb03e1
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat May 12 16:13:15 2012 +0200
Replace !var.size() by var.empty()
Change-Id: I936b59a5bf339d1520cbc10e51b1e9fdc937f0f3
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index 52bdbcb..dccff95 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;
More information about the Libreoffice-commits
mailing list