diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-24 10:09:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-24 10:35:44 +0000 |
commit | 70b09d932225027d531c9a95317320174f8ad687 (patch) | |
tree | ec36c7d4927721c59d22830385517770e820d98b /io/test/stm | |
parent | cbc5dc14d6bb795a9c2b54d624b10770a2a95a00 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
Diffstat (limited to 'io/test/stm')
-rw-r--r-- | io/test/stm/datatest.cxx | 6 | ||||
-rw-r--r-- | io/test/stm/marktest.cxx | 4 | ||||
-rw-r--r-- | io/test/stm/pipetest.cxx | 2 | ||||
-rw-r--r-- | io/test/stm/pumptest.cxx | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx index 9ac2440e5772..e6cc3238f84c 100644 --- a/io/test/stm/datatest.cxx +++ b/io/test/stm/datatest.cxx @@ -63,7 +63,7 @@ class ODataStreamTest : public WeakImplHelper< XSimpleTest > { public: - ODataStreamTest( const Reference < XMultiServiceFactory > & rFactory ) : + explicit ODataStreamTest( const Reference < XMultiServiceFactory > & rFactory ) : m_rFactory( rFactory ) {} @@ -374,7 +374,7 @@ public: m_c( 429 ), m_s( OUString( "foo" ) ) {} - MyPersistObject( const OUString & sServiceName ) : m_sServiceName( sServiceName ) + explicit MyPersistObject( const OUString & sServiceName ) : m_sServiceName( sServiceName ) {} @@ -628,7 +628,7 @@ class OObjectStreamTest : public ODataStreamTest { public: - OObjectStreamTest( const Reference < XMultiServiceFactory > &r) : ODataStreamTest(r) {} + explicit OObjectStreamTest( const Reference < XMultiServiceFactory > &r) : ODataStreamTest(r) {} public: virtual void SAL_CALL testInvariant(const OUString& TestName, diff --git a/io/test/stm/marktest.cxx b/io/test/stm/marktest.cxx index e737f9400c00..c8d2d1997299 100644 --- a/io/test/stm/marktest.cxx +++ b/io/test/stm/marktest.cxx @@ -45,7 +45,7 @@ using namespace ::com::sun::star::test; class OMarkableOutputStreamTest : public WeakImplHelper< XSimpleTest > { public: - OMarkableOutputStreamTest( const Reference< XMultiServiceFactory > & rFactory ); + explicit OMarkableOutputStreamTest( const Reference< XMultiServiceFactory > & rFactory ); ~OMarkableOutputStreamTest(); public: // implementation names @@ -403,7 +403,7 @@ OUString OMarkableOutputStreamTest_getImplementationName() throw () class OMarkableInputStreamTest : public WeakImplHelper< XSimpleTest > { public: - OMarkableInputStreamTest( const Reference< XMultiServiceFactory > & rFactory ); + explicit OMarkableInputStreamTest( const Reference< XMultiServiceFactory > & rFactory ); ~OMarkableInputStreamTest(); public: // implementation names diff --git a/io/test/stm/pipetest.cxx b/io/test/stm/pipetest.cxx index f7dc2d46d5a2..d66b3c751985 100644 --- a/io/test/stm/pipetest.cxx +++ b/io/test/stm/pipetest.cxx @@ -94,7 +94,7 @@ private: class OPipeTest : public WeakImplHelper < XSimpleTest > { public: - OPipeTest( const Reference< XMultiServiceFactory > & rFactory ); + explicit OPipeTest( const Reference< XMultiServiceFactory > & rFactory ); ~OPipeTest(); public: // implementation names diff --git a/io/test/stm/pumptest.cxx b/io/test/stm/pumptest.cxx index b95d54c286c5..ae2a28bebf38 100644 --- a/io/test/stm/pumptest.cxx +++ b/io/test/stm/pumptest.cxx @@ -63,7 +63,7 @@ static void mywait() class OPumpTest : public WeakImplHelper < XSimpleTest > { public: - OPumpTest( const Reference< XMultiServiceFactory > & rFactory ); + explicit OPumpTest( const Reference< XMultiServiceFactory > & rFactory ); ~OPumpTest(); public: // implementation names |