summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-05 21:05:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-05 21:22:31 +0100
commit64385c7555c6bbb089f3ab8b2a5b623cadd6ee7d (patch)
treeb2937dd86e8fff0eff043a5348eb0fe807155bd8 /cui
parent3e0b5c8a0a5511aa5497543d58f01031083b5470 (diff)
cppcheck: noExplicitConstructor
Change-Id: I999923031c573f361bc421eab84e68a4a130d688
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optaboutconfig.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index ebebbd9bf7b1..3b846b8dda19 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -61,12 +61,12 @@ struct UserData
OUString sPropertyPath;
Reference<XNameAccess> aXNameAccess;
- UserData( OUString const & rPropertyPath )
+ explicit UserData( OUString const & rPropertyPath )
: bIsPropertyPath( true )
, sPropertyPath(rPropertyPath)
{}
- UserData( Reference<XNameAccess> const & rXNameAccess )
+ explicit UserData( Reference<XNameAccess> const & rXNameAccess )
: bIsPropertyPath( false )
, aXNameAccess( rXNameAccess )
{}