summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-15 17:32:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-15 20:03:35 +0100
commitd6790de07ff225f9e5b58152d01719e5fbe9e6cd (patch)
treecd00ab904e893bf14670fd8c4d9efa58b02cb64b /svl
parent15dfcb7f461893f83abcf28bfe01a4164209a160 (diff)
cppcheck: noExplicitConstructor
Change-Id: Id438b987f72ae57bd4fa882e01fba17d3fa5b95b
Diffstat (limited to 'svl')
-rw-r--r--svl/source/fsstor/oinputstreamcontainer.hxx2
-rw-r--r--svl/source/fsstor/ostreamcontainer.hxx2
-rw-r--r--svl/source/items/itemprop.cxx2
3 files changed, 3 insertions, 3 deletions
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 )