diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/ColorPropertySet.cxx | 2 | ||||
-rw-r--r-- | oox/source/helper/propertymap.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/export/ColorPropertySet.cxx b/oox/source/export/ColorPropertySet.cxx index e1a861d52ff6..c5e1b4ae30b5 100644 --- a/oox/source/export/ColorPropertySet.cxx +++ b/oox/source/export/ColorPropertySet.cxx @@ -125,7 +125,7 @@ uno::Any SAL_CALL ColorPropertySet::getPropertyValue( const OUString& aPropertyN else if (aPropertyName == m_aColorPropName) return uno::makeAny( m_nColor ); - throw UnknownPropertyException(); + throw UnknownPropertyException(aPropertyName); } void SAL_CALL ColorPropertySet::addPropertyChangeListener( const OUString& /* aPropertyName */, const Reference< XPropertyChangeListener >& /* xListener */ ) diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx index a50ca358a6ee..34a58cf12bb9 100644 --- a/oox/source/helper/propertymap.cxx +++ b/oox/source/helper/propertymap.cxx @@ -139,7 +139,7 @@ Any SAL_CALL GenericPropertySet::getPropertyValue( const OUString& rPropertyName { PropertyNameMap::iterator aIt = maPropMap.find( rPropertyName ); if( aIt == maPropMap.end() ) - throw UnknownPropertyException(); + throw UnknownPropertyException(rPropertyName); return aIt->second; } @@ -169,7 +169,7 @@ Property SAL_CALL GenericPropertySet::getPropertyByName( const OUString& rProper { PropertyNameMap::iterator aIt = maPropMap.find( rPropertyName ); if( aIt == maPropMap.end() ) - throw UnknownPropertyException(); + throw UnknownPropertyException(rPropertyName); Property aProperty; aProperty.Name = aIt->first; aProperty.Handle = 0; |