Kaydet (Commit) 5d390635 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308583 Uncaught exception

Change-Id: Ibc6a8e437d81769b9a77d0a52e98f71b1c7e7d51
üst 0a4e6521
...@@ -1421,7 +1421,7 @@ void OBoundControlModel::onValuePropertyChange( ControlModelLock& i_rControLock ...@@ -1421,7 +1421,7 @@ void OBoundControlModel::onValuePropertyChange( ControlModelLock& i_rControLock
recheckValidity( true ); recheckValidity( true );
} }
void OBoundControlModel::_propertyChanged( const PropertyChangeEvent& _rEvt ) throw ( RuntimeException ) void OBoundControlModel::_propertyChanged( const PropertyChangeEvent& _rEvt ) throw ( RuntimeException, std::exception )
{ {
ControlModelLock aLock( *this ); ControlModelLock aLock( *this );
OSL_ENSURE( _rEvt.PropertyName == m_sValuePropertyName, OSL_ENSURE( _rEvt.PropertyName == m_sValuePropertyName,
......
...@@ -438,7 +438,7 @@ Any SAL_CALL OFormattedModel::getPropertyDefault( const OUString& aPropertyName ...@@ -438,7 +438,7 @@ Any SAL_CALL OFormattedModel::getPropertyDefault( const OUString& aPropertyName
return OEditBaseModel::getPropertyDefault(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 // TODO: check how this works with external bindings
OSL_ENSURE( evt.Source == m_xAggregateSet, "OFormattedModel::_propertyChanged: where did this come from?" ); OSL_ENSURE( evt.Source == m_xAggregateSet, "OFormattedModel::_propertyChanged: where did this come from?" );
......
...@@ -107,7 +107,7 @@ class OFormattedModel ...@@ -107,7 +107,7 @@ class OFormattedModel
) const SAL_OVERRIDE; ) const SAL_OVERRIDE;
// XPropertyChangeListener // 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 // prevent method hiding
using OEditBaseModel::disposing; using OEditBaseModel::disposing;
......
...@@ -1079,7 +1079,7 @@ protected: ...@@ -1079,7 +1079,7 @@ protected:
protected: protected:
// OPropertyChangeListener // OPropertyChangeListener
virtual void 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 /// checks whether we currently have an external value binding in place
inline bool hasExternalValueBinding() const { return m_xExternalBinding.is(); } inline bool hasExternalValueBinding() const { return m_xExternalBinding.is(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment