summaryrefslogtreecommitdiff
path: root/comphelper/source/property/ChainablePropertySet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/property/ChainablePropertySet.cxx')
-rw-r--r--comphelper/source/property/ChainablePropertySet.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/comphelper/source/property/ChainablePropertySet.cxx b/comphelper/source/property/ChainablePropertySet.cxx
index c847b393030b..258b6dad0495 100644
--- a/comphelper/source/property/ChainablePropertySet.cxx
+++ b/comphelper/source/property/ChainablePropertySet.cxx
@@ -194,9 +194,7 @@ PropertyState SAL_CALL ChainablePropertySet::getPropertyState( const OUString& P
if( aIter == mxInfo->maMap.end())
throw UnknownPropertyException( PropertyName, static_cast< XPropertySet* >( this ) );
- PropertyState aState(PropertyState_AMBIGUOUS_VALUE);
-
- return aState;
+ return PropertyState_AMBIGUOUS_VALUE;
}
Sequence< PropertyState > SAL_CALL ChainablePropertySet::getPropertyStates( const Sequence< OUString >& rPropertyNames )