summaryrefslogtreecommitdiff
path: root/stoc/test
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 /stoc/test
parent15dfcb7f461893f83abcf28bfe01a4164209a160 (diff)
cppcheck: noExplicitConstructor
Change-Id: Id438b987f72ae57bd4fa882e01fba17d3fa5b95b
Diffstat (limited to 'stoc/test')
-rw-r--r--stoc/test/testintrosp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx
index 43ea55c1cc76..2843169ba785 100644
--- a/stoc/test/testintrosp.cxx
+++ b/stoc/test/testintrosp.cxx
@@ -183,7 +183,7 @@ class ImplPropertySetInfo : public ImplPropertySetInfoHelper
Reference< XMultiServiceFactory > mxMgr;
public:
- ImplPropertySetInfo( const Reference< XMultiServiceFactory > & xMgr )
+ explicit ImplPropertySetInfo( const Reference< XMultiServiceFactory > & xMgr )
: mxMgr( xMgr ) {}
// Methods of XPropertySetInfo
@@ -303,7 +303,7 @@ class ImplIntroTest : public ImplIntroTestHelper
void Init();
public:
- ImplIntroTest( const Reference< XMultiServiceFactory > & xMgr )
+ explicit ImplIntroTest( const Reference< XMultiServiceFactory > & xMgr )
: mxMgr( xMgr )
{
Init();