diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-05-30 14:25:27 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-05-30 14:34:54 +0200 |
commit | 979b570f76fb8b1fc476fb9e3bf01e8209925bfd (patch) | |
tree | 65f479ff2c004784d7951a88676237f53ec7dd27 /extensions/source/propctrlr/propertycomposer.cxx | |
parent | a4c6f8f60d3c199239f2cb736bb8f76a9dafd19a (diff) |
setPropertyValue can throw PropertyVetoException
fixes abort in report design when entering e.g. invalid positions or size for control
Change-Id: I38835ed79d5bee15c4d7b57ab6780050d250732a
Diffstat (limited to 'extensions/source/propctrlr/propertycomposer.cxx')
-rw-r--r-- | extensions/source/propctrlr/propertycomposer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/propertycomposer.cxx b/extensions/source/propctrlr/propertycomposer.cxx index f3706dc4a3e3..2fe8c5663854 100644 --- a/extensions/source/propctrlr/propertycomposer.cxx +++ b/extensions/source/propctrlr/propertycomposer.cxx @@ -129,7 +129,7 @@ namespace pcr } //-------------------------------------------------------------------- - void SAL_CALL PropertyComposer::setPropertyValue( const OUString& _rPropertyName, const Any& _rValue ) throw (UnknownPropertyException, RuntimeException) + void SAL_CALL PropertyComposer::setPropertyValue( const OUString& _rPropertyName, const Any& _rValue ) throw (UnknownPropertyException, RuntimeException, PropertyVetoException) { MethodGuard aGuard( *this ); ::std::for_each( m_aSlaveHandlers.begin(), m_aSlaveHandlers.end(), SetPropertyValue( _rPropertyName, _rValue ) ); |