diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-05 21:05:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-05 21:22:31 +0100 |
commit | 64385c7555c6bbb089f3ab8b2a5b623cadd6ee7d (patch) | |
tree | b2937dd86e8fff0eff043a5348eb0fe807155bd8 /cui | |
parent | 3e0b5c8a0a5511aa5497543d58f01031083b5470 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I999923031c573f361bc421eab84e68a4a130d688
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optaboutconfig.cxx | 4 |
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 ) {} |