[Libreoffice-commits] core.git: xmlsecurity/source
Caolán McNamara
caolanm at redhat.com
Mon Mar 23 02:39:12 PDT 2015
xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx | 2 +-
xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx | 2 +-
xmlsecurity/source/xmlsec/nss/nssinitializer.cxx | 4 ++--
xmlsecurity/source/xmlsec/nss/nssinitializer.hxx | 2 +-
xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx | 2 +-
xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx | 2 +-
xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 68495ab36482455b4081d9d93b5e821c610d5d81
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 23 09:37:21 2015 +0000
cppcheck: add some explicits
Change-Id: I4e1fd50f1268f0820fae2bb41c69155ef5c28464
diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx
index 3778fc0..0e63468 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 6a3be3e..7044ee2 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 faede8a..abca1c9 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 d4f44f9..6a2f628 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 732d706..a811a31 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 be575fd..dd7df15 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 cca3709..c2ed122 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
More information about the Libreoffice-commits
mailing list