summaryrefslogtreecommitdiff
path: root/comphelper/source/property
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-08 16:17:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-08 17:35:00 +0100
commita941df0f89ab8222ebd22c697e23fb539a3730ed (patch)
treee65d56ab54abbf76d7176e49bab2929d06055433 /comphelper/source/property
parent883ebe0283dc6bdf62f08191dede2a249f777f63 (diff)
cppcheck: noExplicitConstructor
Change-Id: Ie2ae923ad4c1a66e779711de6ff05328ef144dac
Diffstat (limited to 'comphelper/source/property')
-rw-r--r--comphelper/source/property/MasterPropertySet.cxx2
-rw-r--r--comphelper/source/property/genericpropertyset.cxx2
-rw-r--r--comphelper/source/property/propagg.cxx2
-rw-r--r--comphelper/source/property/propertycontainerhelper.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/source/property/MasterPropertySet.cxx b/comphelper/source/property/MasterPropertySet.cxx
index f5e9cba48387..87e4ba42c82f 100644
--- a/comphelper/source/property/MasterPropertySet.cxx
+++ b/comphelper/source/property/MasterPropertySet.cxx
@@ -33,7 +33,7 @@ class AutoOGuardArray
std::unique_ptr< osl::Guard< comphelper::SolarMutex > > * mpGuardArray;
public:
- AutoOGuardArray( sal_Int32 nNumElements );
+ explicit AutoOGuardArray( sal_Int32 nNumElements );
~AutoOGuardArray();
std::unique_ptr< osl::Guard< comphelper::SolarMutex > > & operator[] ( sal_Int32 i ) { return mpGuardArray[i]; }
diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx
index 2ddb513a7cc9..cf7af4ecfbbe 100644
--- a/comphelper/source/property/genericpropertyset.cxx
+++ b/comphelper/source/property/genericpropertyset.cxx
@@ -64,7 +64,7 @@ namespace comphelper
virtual void _getPropertyValues( const PropertyMapEntry** ppEntries, Any* pValue ) throw( UnknownPropertyException, WrappedTargetException ) SAL_OVERRIDE;
public:
- GenericPropertySet( PropertySetInfo* pInfo ) throw();
+ explicit GenericPropertySet( PropertySetInfo* pInfo ) throw();
virtual ~GenericPropertySet() throw();
// XInterface
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx
index 7abb03d31e59..9d4930c54e3b 100644
--- a/comphelper/source/property/propagg.cxx
+++ b/comphelper/source/property/propagg.cxx
@@ -356,7 +356,7 @@ namespace internal
sal_Int32 m_nCurrentlyForwarding;
public:
- PropertyForwarder( OPropertySetAggregationHelper& _rAggregationHelper );
+ explicit PropertyForwarder( OPropertySetAggregationHelper& _rAggregationHelper );
~PropertyForwarder();
/** declares that the forwarder should be responsible for the given property
diff --git a/comphelper/source/property/propertycontainerhelper.cxx b/comphelper/source/property/propertycontainerhelper.cxx
index 8b8f7a691a5a..1d4a91197391 100644
--- a/comphelper/source/property/propertycontainerhelper.cxx
+++ b/comphelper/source/property/propertycontainerhelper.cxx
@@ -52,7 +52,7 @@ namespace
struct PropertyDescriptionNameMatch : public ::std::unary_function< PropertyDescription, bool >
{
OUString m_rCompare;
- PropertyDescriptionNameMatch( const OUString& _rCompare ) : m_rCompare( _rCompare ) { }
+ explicit PropertyDescriptionNameMatch( const OUString& _rCompare ) : m_rCompare( _rCompare ) { }
bool operator() (const PropertyDescription& x ) const
{