diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-04 12:03:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-04 20:13:52 +0100 |
commit | 869e477484befd0c200c73103ff9bc224d3a47df (patch) | |
tree | 0ca84c1d6c2da8555fffefa613b5cd612c1a9ee3 | |
parent | c4ed1eb3ab4480092b21d95edebc10ea010b67e8 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Iea5bb0504518b380c3fe7c238d376dc26be8a7ef
10 files changed, 13 insertions, 13 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx index 6a1d338941db..429c866e84b7 100644 --- a/animations/source/animcore/animcore.cxx +++ b/animations/source/animcore/animcore.cxx @@ -354,7 +354,7 @@ private: class TimeContainerEnumeration : public ::cppu::WeakImplHelper1< XEnumeration > { public: - TimeContainerEnumeration( const ChildList_t &rChildren ); + explicit TimeContainerEnumeration( const ChildList_t &rChildren ); virtual ~TimeContainerEnumeration(); // Methods diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx index 86dae1b1f43e..f3e92d523885 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx @@ -77,7 +77,7 @@ namespace xmlscript class XMLBasicExporter : public XMLBasicExporterBase { public: - XMLBasicExporter( + explicit XMLBasicExporter( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); virtual ~XMLBasicExporter(); @@ -93,7 +93,7 @@ namespace xmlscript class XMLOasisBasicExporter : public XMLBasicExporterBase { public: - XMLOasisBasicExporter( + explicit XMLOasisBasicExporter( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); virtual ~XMLOasisBasicExporter(); diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx index 54a9b946a68a..a600e238023f 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx @@ -272,7 +272,7 @@ namespace xmlscript class XMLBasicImporter : public XMLBasicImporterBase { public: - XMLBasicImporter( + explicit XMLBasicImporter( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); virtual ~XMLBasicImporter(); @@ -288,7 +288,7 @@ namespace xmlscript class XMLOasisBasicImporter : public XMLBasicImporterBase { public: - XMLOasisBasicImporter( + explicit XMLOasisBasicImporter( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); virtual ~XMLOasisBasicImporter(); diff --git a/xmlscript/source/xmllib_imexp/imp_share.hxx b/xmlscript/source/xmllib_imexp/imp_share.hxx index 39ce9d3c5d20..4be264a97ea9 100644 --- a/xmlscript/source/xmllib_imexp/imp_share.hxx +++ b/xmlscript/source/xmllib_imexp/imp_share.hxx @@ -114,7 +114,7 @@ struct LibraryImport sal_Int32 XMLNS_XLINK_UID; public: - LibraryImport( LibDescriptorArray* pLibArray ) + explicit LibraryImport( LibDescriptorArray* pLibArray ) : mpLibArray(pLibArray) , mpLibDesc(NULL) , XMLNS_LIBRARY_UID(0) @@ -123,7 +123,7 @@ public: } // Single library mode - LibraryImport(LibDescriptor* pLibDesc) + explicit LibraryImport(LibDescriptor* pLibDesc) : mpLibArray(NULL) , mpLibDesc(pLibDesc) , XMLNS_LIBRARY_UID(0) diff --git a/xmlsecurity/source/framework/signatureengine.hxx b/xmlsecurity/source/framework/signatureengine.hxx index da0e131474f8..23c7cdedf3c4 100644 --- a/xmlsecurity/source/framework/signatureengine.hxx +++ b/xmlsecurity/source/framework/signatureengine.hxx @@ -91,7 +91,7 @@ protected: com::sun::star::io::XInputStream > > m_vXInputStreams; protected: - SignatureEngine( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & xContext); + explicit SignatureEngine( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & xContext); virtual ~SignatureEngine() {}; virtual void tryToPerform( ) diff --git a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx index dc924be94067..1900909a7a14 100644 --- a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx +++ b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx @@ -45,7 +45,7 @@ class XMLEncryptionTemplateImpl : public ::cppu::WeakImplHelper2< ::com::sun::star::xml::crypto::SecurityOperationStatus m_nStatus; public : - XMLEncryptionTemplateImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; + explicit XMLEncryptionTemplateImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; virtual ~XMLEncryptionTemplateImpl() ; //Methods from XXMLEncryptionTemplate diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx index d8b53bbd4146..6d34bbabdc39 100644 --- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx +++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx @@ -47,7 +47,7 @@ class XMLSignatureTemplateImpl : public ::cppu::WeakImplHelper2< ::com::sun::star::xml::crypto::SecurityOperationStatus m_nStatus; public : - XMLSignatureTemplateImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; + explicit XMLSignatureTemplateImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& aFactory ) ; virtual ~XMLSignatureTemplateImpl() ; //Methods from XXMLSignatureTemplate diff --git a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx index f93aa392e810..6a705f400e70 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx @@ -109,7 +109,7 @@ private: public: UriBindingHelper(); - UriBindingHelper( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rxStorage ); + explicit UriBindingHelper( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rxStorage ); void SAL_CALL setUriBinding( const OUString& uri, const com::sun::star::uno::Reference< com::sun::star::io::XInputStream >& aInputStream ) throw (com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/xmlsecurity/source/helper/xsecctl.hxx b/xmlsecurity/source/helper/xsecctl.hxx index 196c69885464..7b63ca0f94e0 100644 --- a/xmlsecurity/source/helper/xsecctl.hxx +++ b/xmlsecurity/source/helper/xsecctl.hxx @@ -388,7 +388,7 @@ private: sal_Int32 nSecurityId ); public: - XSecController(const com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>& rxCtx); + explicit XSecController(const com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>& rxCtx); virtual ~XSecController(); sal_Int32 getNewSecurityId( ); diff --git a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx index 8ad12064b531..57a9af70426d 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx @@ -55,7 +55,7 @@ private: com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > mxContext; public: - SEInitializer_MSCryptImpl(const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > &rxContext); + explicit SEInitializer_MSCryptImpl(const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > &rxContext); virtual ~SEInitializer_MSCryptImpl(); /* XSEInitializer */ |