summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/component
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-12 12:17:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-11 08:24:19 +0100
commitf76bf262a60c154684ffefbd53a5339fa3864e42 (patch)
tree6b287051d4ad9d5258eecd3efa0ebb8a020d2b2c /xmlsecurity/source/component
parentb143e7642f93e83f4f3c4df56c3e1e8e64e36ce0 (diff)
new loplugin indentation
look for mixed indentation in compound statements, which makes them hard to read, and sometimes makes it look like a statement is associated with a nearby if/for Change-Id: Ic8429cee1f9a86d938097a4a8769a2bce97b3361 Reviewed-on: https://gerrit.libreoffice.org/63283 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/component')
-rw-r--r--xmlsecurity/source/component/certificatecontainer.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/source/component/certificatecontainer.cxx b/xmlsecurity/source/component/certificatecontainer.cxx
index c110ebb64e6f..845e980baeca 100644
--- a/xmlsecurity/source/component/certificatecontainer.cxx
+++ b/xmlsecurity/source/component/certificatecontainer.cxx
@@ -96,11 +96,11 @@ CertificateContainer::addCertificate( const OUString & url, const OUString & cer
{
certMap.emplace( url, certificate_name );
- //remember that the cert is trusted
- if (trust)
- certTrustMap.emplace( url, certificate_name );
+ //remember that the cert is trusted
+ if (trust)
+ certTrustMap.emplace( url, certificate_name );
- return true;
+ return true;
}
::security::CertificateContainerStatus