diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-27 09:03:38 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-27 07:57:46 +0000 |
commit | a25327e4b18768e40c6044c86ce09136cfc23c10 (patch) | |
tree | c08a38ca057b161293204813aedb586ec409e5ac /xmlsecurity | |
parent | GSoC: Remove TemplateRemoteView from Template Manager (diff) | |
download | core-a25327e4b18768e40c6044c86ce09136cfc23c10.tar.gz core-a25327e4b18768e40c6044c86ce09136cfc23c10.zip |
loplugin:singlevalfields in writerfilter and xmlsec
Change-Id: I51305ce4a6929b36f41eb7c7c83606ca8c5c89b8
Reviewed-on: https://gerrit.libreoffice.org/26691
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx | 6 | ||||
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx index 49ff9c71f5e4..f3228428c4f5 100644 --- a/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx @@ -39,9 +39,7 @@ using namespace ::com::sun::star::security ; using ::com::sun::star::security::XCertificateExtension ; -SanExtensionImpl::SanExtensionImpl() : -m_critical( false ) -{ +SanExtensionImpl::SanExtensionImpl() { } SanExtensionImpl::~SanExtensionImpl() { @@ -50,7 +48,7 @@ SanExtensionImpl::~SanExtensionImpl() { //Methods from XCertificateExtension sal_Bool SAL_CALL SanExtensionImpl::isCritical() throw( css::uno::RuntimeException, std::exception ) { - return m_critical ; + return false; } css::uno::Sequence< sal_Int8 > SAL_CALL SanExtensionImpl::getExtensionId() throw( css::uno::RuntimeException, std::exception ) { diff --git a/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx index dfbe91fac7bb..ff6f87e47267 100644 --- a/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx @@ -34,7 +34,6 @@ class SanExtensionImpl : public ::cppu::WeakImplHelper< css::security::XSanExtension > { private: - bool m_critical ; css::uno::Sequence< sal_Int8 > m_xExtnId ; css::uno::Sequence< sal_Int8 > m_xExtnValue ; css::uno::Sequence< css::security::CertAltNameEntry > m_Entries; |