diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 09:29:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 09:43:35 +0100 |
commit | 5d39063581fa7a24ee18c870d2f53c2b5d58a0e8 (patch) | |
tree | 91ccd5246814b265eec41a247877d44d668a2c38 /forms | |
parent | 0a4e65219e785dced414821d0c2fef483b40e0c4 (diff) |
coverity#1308583 Uncaught exception
Change-Id: Ibc6a8e437d81769b9a77d0a52e98f71b1c7e7d51
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/FormComponent.cxx | 2 | ||||
-rw-r--r-- | forms/source/component/FormattedField.cxx | 2 | ||||
-rw-r--r-- | forms/source/component/FormattedField.hxx | 2 | ||||
-rw-r--r-- | forms/source/inc/FormComponent.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 9b8a398098ee..1b978d15c151 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -1421,7 +1421,7 @@ void OBoundControlModel::onValuePropertyChange( ControlModelLock& i_rControLock recheckValidity( true ); } -void OBoundControlModel::_propertyChanged( const PropertyChangeEvent& _rEvt ) throw ( RuntimeException ) +void OBoundControlModel::_propertyChanged( const PropertyChangeEvent& _rEvt ) throw ( RuntimeException, std::exception ) { ControlModelLock aLock( *this ); OSL_ENSURE( _rEvt.PropertyName == m_sValuePropertyName, diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx index bb37b4b17e9f..0d385acbad3d 100644 --- a/forms/source/component/FormattedField.cxx +++ b/forms/source/component/FormattedField.cxx @@ -438,7 +438,7 @@ Any SAL_CALL OFormattedModel::getPropertyDefault( const OUString& aPropertyName return OEditBaseModel::getPropertyDefault(aPropertyName); } -void OFormattedModel::_propertyChanged( const com::sun::star::beans::PropertyChangeEvent& evt ) throw(RuntimeException) +void OFormattedModel::_propertyChanged( const com::sun::star::beans::PropertyChangeEvent& evt ) throw(RuntimeException, std::exception) { // TODO: check how this works with external bindings OSL_ENSURE( evt.Source == m_xAggregateSet, "OFormattedModel::_propertyChanged: where did this come from?" ); diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx index 424f0dbc27a0..3c771d5ad9f5 100644 --- a/forms/source/component/FormattedField.hxx +++ b/forms/source/component/FormattedField.hxx @@ -107,7 +107,7 @@ class OFormattedModel ) const SAL_OVERRIDE; // XPropertyChangeListener - virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // prevent method hiding using OEditBaseModel::disposing; diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index ecaffb92cb14..745dc88a11f0 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -1079,7 +1079,7 @@ protected: protected: // OPropertyChangeListener virtual void - _propertyChanged( const ::com::sun::star::beans::PropertyChangeEvent& _rEvt ) throw ( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; + _propertyChanged( const ::com::sun::star::beans::PropertyChangeEvent& _rEvt ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; /// checks whether we currently have an external value binding in place inline bool hasExternalValueBinding() const { return m_xExternalBinding.is(); } |