[Libreoffice-commits] core.git: xmlsecurity/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 14 13:51:08 UTC 2017
xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fe7a5fe993dc9c1361fbf974e725451adce6eef7
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 14 14:49:58 2017 +0100
loplugin:subtlezeroinit (clang-cl)
Change-Id: I0a36bcf15fff74ed2f707608e04ad6596614dfd1
diff --git a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx
index b468bf1..29e6d1d 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx
@@ -381,7 +381,7 @@ css::uno::Sequence< css::uno::Reference< css::security::XCertificateExtension >
if ( objId == "2.5.29.17" )
xExtn = reinterpret_cast<CertificateExtension_XmlSecImpl*>(new SanExtensionImpl());
else
- xExtn = new CertificateExtension_XmlSecImpl() ;
+ xExtn = new CertificateExtension_XmlSecImpl;
if( xExtn == nullptr )
throw RuntimeException() ;
@@ -406,7 +406,7 @@ css::uno::Reference< css::security::XCertificateExtension > SAL_CALL X509Certifi
//TODO: Compare the oid
if( false ) {
- xExtn = new CertificateExtension_XmlSecImpl() ;
+ xExtn = new CertificateExtension_XmlSecImpl;
if( xExtn == nullptr )
throw RuntimeException() ;
More information about the Libreoffice-commits
mailing list