From 64385c7555c6bbb089f3ab8b2a5b623cadd6ee7d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 5 Jul 2015 21:05:13 +0100 Subject: cppcheck: noExplicitConstructor Change-Id: I999923031c573f361bc421eab84e68a4a130d688 --- cui/source/options/optaboutconfig.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui') 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 aXNameAccess; - UserData( OUString const & rPropertyPath ) + explicit UserData( OUString const & rPropertyPath ) : bIsPropertyPath( true ) , sPropertyPath(rPropertyPath) {} - UserData( Reference const & rXNameAccess ) + explicit UserData( Reference const & rXNameAccess ) : bIsPropertyPath( false ) , aXNameAccess( rXNameAccess ) {} -- cgit