cppcheck: noExplicitConstructor

Change-Id: Iea5bb0504518b380c3fe7c238d376dc26be8a7ef
This commit is contained in:
Caolán McNamara 2015-05-04 12:03:03 +01:00
parent c4ed1eb3ab
commit 869e477484
10 changed files with 13 additions and 13 deletions

View File

@ -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

View File

@ -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();

View File

@ -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();

View File

@ -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)

View File

@ -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( )

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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( );

View File

@ -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 */