diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-20 15:59:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-20 20:40:54 +0100 |
commit | dcee23b7f8004c47cbab320e1a07bf518a385fce (patch) | |
tree | 225a5c5b9154241ca6eee47c93d1d625fd39a899 /xmlsecurity | |
parent | 484759aadd964b011e8e649ba021d09f40a79440 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Idcf5460ec59cfb6f13055652c094d460c15da5ed
Diffstat (limited to 'xmlsecurity')
5 files changed, 6 insertions, 6 deletions
diff --git a/xmlsecurity/source/component/certificatecontainer.hxx b/xmlsecurity/source/component/certificatecontainer.hxx index 9d5b2169eb1c..3dcbaa1166c5 100644 --- a/xmlsecurity/source/component/certificatecontainer.hxx +++ b/xmlsecurity/source/component/certificatecontainer.hxx @@ -45,8 +45,8 @@ class CertificateContainer : public ::cppu::WeakImplHelper2< css::lang::XService public: - CertificateContainer(const css::uno::Reference< css::lang::XMultiServiceFactory >& ) {}; - virtual ~CertificateContainer(){}; + explicit CertificateContainer(const css::uno::Reference< css::lang::XMultiServiceFactory >& ) {} + virtual ~CertificateContainer() {} virtual sal_Bool SAL_CALL addCertificate( const OUString & url, const OUString & certificate_name, sal_Bool trust ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::security::CertificateContainerStatus SAL_CALL hasCertificate( const OUString & url, const OUString & certificate_name ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/xmlsecurity/source/component/documentdigitalsignatures.hxx b/xmlsecurity/source/component/documentdigitalsignatures.hxx index ab674f367638..2c72474444a9 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.hxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.hxx @@ -57,7 +57,7 @@ private: com::sun::star::uno::Sequence< ::com::sun::star::security::DocumentSignatureInformation > ImplVerifySignatures( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& rxStorage, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xSignStream, DocumentSignatureMode eMode ) throw (::com::sun::star::uno::RuntimeException); public: - DocumentDigitalSignatures( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext>& rxCtx ); + explicit DocumentDigitalSignatures( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext>& rxCtx ); // for service registration... static OUString GetImplementationName() throw (com::sun::star::uno::RuntimeException); diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 1142b1dfd173..b607fa3c5ad7 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -359,7 +359,7 @@ void MacroSecurityTrustedSourcesTP::FillCertLB() class TrustCertLB : public SvSimpleTable { public: - TrustCertLB(SvSimpleTableContainer &rContainer) + explicit TrustCertLB(SvSimpleTableContainer &rContainer) : SvSimpleTable(rContainer, 0) { } diff --git a/xmlsecurity/source/framework/encryptionengine.hxx b/xmlsecurity/source/framework/encryptionengine.hxx index 020d1c89325f..e8cdda4b7303 100644 --- a/xmlsecurity/source/framework/encryptionengine.hxx +++ b/xmlsecurity/source/framework/encryptionengine.hxx @@ -72,7 +72,7 @@ protected: sal_Int32 m_nIdOfBlocker; protected: - EncryptionEngine( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & xContext ); + explicit EncryptionEngine( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & xContext ); virtual ~EncryptionEngine(){}; virtual void tryToPerform( ) diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx index 793f70972271..b610a0f32078 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx @@ -84,7 +84,7 @@ class SecurityEnvironment_MSCryptImpl : public ::cppu::WeakImplHelper3< ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager ; public : - SecurityEnvironment_MSCryptImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; + explicit SecurityEnvironment_MSCryptImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; virtual ~SecurityEnvironment_MSCryptImpl() ; //Methods from XSecurityEnvironment |