diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-23 09:37:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-23 09:38:04 +0000 |
commit | 68495ab36482455b4081d9d93b5e821c610d5d81 (patch) | |
tree | a473133958174695259c991d5c6e1da01064c084 /xmlsecurity | |
parent | e19a11c788d9772c0a27d079819033b7b3e8937b (diff) |
cppcheck: add some explicits
Change-Id: I4e1fd50f1268f0820fae2bb41c69155ef5c28464
Diffstat (limited to 'xmlsecurity')
7 files changed, 8 insertions, 8 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx index 3778fc0cbaa2..0e634687e241 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx @@ -42,7 +42,7 @@ class XMLEncryption_MSCryptImpl : public ::cppu::WeakImplHelper2< ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager ; public : - XMLEncryption_MSCryptImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; + explicit XMLEncryption_MSCryptImpl(const css::uno::Reference<css::lang::XMultiServiceFactory>& rFactory); virtual ~XMLEncryption_MSCryptImpl() ; //Methods from XXMLEncryption diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx index 6a3be3efa232..7044ee2c6ed8 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx @@ -42,7 +42,7 @@ class XMLSignature_MSCryptImpl : public ::cppu::WeakImplHelper2< ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager ; public : - XMLSignature_MSCryptImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; + explicit XMLSignature_MSCryptImpl(const css::uno::Reference<css::lang::XMultiServiceFactory >& rFactory); virtual ~XMLSignature_MSCryptImpl() ; //Methods from XXMLSignature diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx index faede8aa8321..abca1c9ac601 100644 --- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx +++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx @@ -79,8 +79,8 @@ struct InitNSSInitialize { css::uno::Reference< css::uno::XComponentContext > m_xContext; - InitNSSInitialize( const css::uno::Reference< css::uno::XComponentContext > &rxContext ) - : m_xContext( rxContext ) + explicit InitNSSInitialize(const css::uno::Reference<css::uno::XComponentContext> &rxContext) + : m_xContext(rxContext) { } diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.hxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.hxx index d4f44f9ae4c1..6a2f628a37ee 100644 --- a/xmlsecurity/source/xmlsec/nss/nssinitializer.hxx +++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.hxx @@ -41,7 +41,7 @@ protected: {} public: - ONSSInitializer( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext ); + explicit ONSSInitializer(const css::uno::Reference<css::uno::XComponentContext> &rxContext); virtual ~ONSSInitializer(); bool initNSS( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext ); diff --git a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx index 732d70650101..a811a31b5bdc 100644 --- a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx @@ -36,7 +36,7 @@ class SEInitializer_NssImpl : public cppu::ImplInheritanceHelper1 > { public: - SEInitializer_NssImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext ); + explicit SEInitializer_NssImpl(const css::uno::Reference<css::uno::XComponentContext > &rxContext); virtual ~SEInitializer_NssImpl(); /* XSEInitializer */ diff --git a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx index be575fdef4b3..dd7df15c0ffa 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx @@ -42,7 +42,7 @@ class XMLEncryption_NssImpl : public ::cppu::WeakImplHelper2< ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager ; public : - XMLEncryption_NssImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; + explicit XMLEncryption_NssImpl(const css::uno::Reference<css::lang::XMultiServiceFactory >& rFactory); virtual ~XMLEncryption_NssImpl() ; //Methods from XXMLEncryption diff --git a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx index cca3709a8c8f..c2ed1225d8c9 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx @@ -42,7 +42,7 @@ class XMLSignature_NssImpl : public ::cppu::WeakImplHelper2< ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager ; public : - XMLSignature_NssImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; + explicit XMLSignature_NssImpl(const css::uno::Reference<css::lang::XMultiServiceFactory>& rFactory); virtual ~XMLSignature_NssImpl() ; //Methods from XXMLSignature |