summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/xmlsec
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-12-31 12:30:51 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-12-31 16:27:31 +0100
commitdf2586cd988c01becbc7cd40cbd44f1f38348755 (patch)
treef2cb5968b9861e472b1d6c45b51bc1bcff0ee96c /xmlsecurity/source/xmlsec
parent327e9592319ddd192de01d1850e404a0918ad130 (diff)
Replace "size() != 0 with !empty()" (xmlsecurity)
Change-Id: Ibc1b8265292f579760c08c2906687118a8cf6df4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161491 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmlsecurity/source/xmlsec')
-rw-r--r--xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
index 2ab5b011e2c7..d75d55f50475 100644
--- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
@@ -284,7 +284,7 @@ SecurityEnvironment_NssImpl::getPersonalCertificates()
}
- if( certsList.size() != 0 ) {
+ if( !certsList.empty() ) {
return comphelper::containerToSequence<Reference< XCertificate >>(certsList) ;
}