From d6790de07ff225f9e5b58152d01719e5fbe9e6cd Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 15 Jul 2015 17:32:31 +0100 Subject: cppcheck: noExplicitConstructor Change-Id: Id438b987f72ae57bd4fa882e01fba17d3fa5b95b --- svl/source/fsstor/oinputstreamcontainer.hxx | 2 +- svl/source/fsstor/ostreamcontainer.hxx | 2 +- svl/source/items/itemprop.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'svl/source') diff --git a/svl/source/fsstor/oinputstreamcontainer.hxx b/svl/source/fsstor/oinputstreamcontainer.hxx index a5ad6f9b05a6..1510387e4a57 100644 --- a/svl/source/fsstor/oinputstreamcontainer.hxx +++ b/svl/source/fsstor/oinputstreamcontainer.hxx @@ -46,7 +46,7 @@ class OFSInputStreamContainer : public cppu::WeakImplHelper2 < ::com::sun::star: ::cppu::OInterfaceContainerHelper* m_pListenersContainer; // list of listeners public: - OFSInputStreamContainer( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream >& xStream ); + explicit OFSInputStreamContainer( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream >& xStream ); virtual ~OFSInputStreamContainer(); diff --git a/svl/source/fsstor/ostreamcontainer.hxx b/svl/source/fsstor/ostreamcontainer.hxx index f998664bcf33..f6d7c2eef93f 100644 --- a/svl/source/fsstor/ostreamcontainer.hxx +++ b/svl/source/fsstor/ostreamcontainer.hxx @@ -60,7 +60,7 @@ class OFSStreamContainer : public cppu::OWeakObject, ::cppu::OTypeCollection* m_pTypeCollection; public: - OFSStreamContainer( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XStream >& xStream ); + explicit OFSStreamContainer( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XStream >& xStream ); virtual ~OFSStreamContainer(); // XInterface diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx index 9e2c1ed0593d..3916db7e8038 100644 --- a/svl/source/items/itemprop.cxx +++ b/svl/source/items/itemprop.cxx @@ -51,7 +51,7 @@ public: mutable uno::Sequence< beans::Property > m_aPropSeq; SfxItemPropertyMap_Impl(){} - SfxItemPropertyMap_Impl( const SfxItemPropertyMap_Impl* pSource ); + explicit SfxItemPropertyMap_Impl( const SfxItemPropertyMap_Impl* pSource ); }; SfxItemPropertyMap_Impl::SfxItemPropertyMap_Impl( const SfxItemPropertyMap_Impl* pSource ) -- cgit