summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-26 10:26:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-26 16:29:14 +0100
commit42bcbee2e6c71c766054bfd786d85302293b5b99 (patch)
tree14d4dc212272f0d173bf21b687eca4541d2552cd /comphelper/source
parenta7fcb3ed07f535ebbd4e74b423fb6ccbb47e78cb (diff)
clang: Result of operation is garbage or undefined
Change-Id: I49f58ae6a7c046af4c3de8d35219ffe2e4ba8f20
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/property/ChainablePropertySet.cxx2
-rw-r--r--comphelper/source/property/MasterPropertySet.cxx2
-rw-r--r--comphelper/source/property/propertysethelper.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/source/property/ChainablePropertySet.cxx b/comphelper/source/property/ChainablePropertySet.cxx
index 53ee49740dda..1f29c4abd478 100644
--- a/comphelper/source/property/ChainablePropertySet.cxx
+++ b/comphelper/source/property/ChainablePropertySet.cxx
@@ -208,7 +208,7 @@ PropertyState SAL_CALL ChainablePropertySet::getPropertyState( const OUString& P
if( aIter == mpInfo->maMap.end())
throw UnknownPropertyException( PropertyName, static_cast< XPropertySet* >( this ) );
- PropertyState aState;
+ PropertyState aState(PropertyState_AMBIGUOUS_VALUE);
_preGetPropertyState();
_getPropertyState( *((*aIter).second), aState );
diff --git a/comphelper/source/property/MasterPropertySet.cxx b/comphelper/source/property/MasterPropertySet.cxx
index fea31d35f5b1..c5a59da90cbc 100644
--- a/comphelper/source/property/MasterPropertySet.cxx
+++ b/comphelper/source/property/MasterPropertySet.cxx
@@ -353,7 +353,7 @@ PropertyState SAL_CALL MasterPropertySet::getPropertyState( const OUString& Prop
if( aIter == mpInfo->maMap.end())
throw UnknownPropertyException( PropertyName, static_cast< XPropertySet* >( this ) );
- PropertyState aState;
+ PropertyState aState(PropertyState_AMBIGUOUS_VALUE);
if ( (*aIter).second->mnMapId == 0 ) // 0 means it's one of ours !
{
diff --git a/comphelper/source/property/propertysethelper.cxx b/comphelper/source/property/propertysethelper.cxx
index eb07e504d8d5..b85fe96ac4a7 100644
--- a/comphelper/source/property/propertysethelper.cxx
+++ b/comphelper/source/property/propertysethelper.cxx
@@ -218,7 +218,7 @@ PropertyState SAL_CALL PropertySetHelper::getPropertyState( const OUString& Prop
aEntries[1] = NULL;
- PropertyState aState;
+ PropertyState aState(PropertyState_AMBIGUOUS_VALUE);
_getPropertyStates( (const PropertyMapEntry**)aEntries, &aState );
return aState;