diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-13 13:19:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-13 13:38:26 +0100 |
commit | a7e184e81e4fa8ee201fd17acebe937144cfa533 (patch) | |
tree | 892372dc622e0469f8ebdabe6691dbd850f7c915 /extensions/source/propctrlr/cellbindinghandler.cxx | |
parent | 120a04d678dfa01d1a8414f8d4b75e0843f43e1e (diff) |
coverity#706514 Uncaught exception
also
coverity#706515
coverity#706516
coverity#706517
coverity#706528
coverity#706529
Change-Id: I5beb753d5cc8ed976b3c11319cc36415adebd1e6
Diffstat (limited to 'extensions/source/propctrlr/cellbindinghandler.cxx')
-rw-r--r-- | extensions/source/propctrlr/cellbindinghandler.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/propctrlr/cellbindinghandler.cxx b/extensions/source/propctrlr/cellbindinghandler.cxx index 5782ff8cea52..6bd77b8f9e6e 100644 --- a/extensions/source/propctrlr/cellbindinghandler.cxx +++ b/extensions/source/propctrlr/cellbindinghandler.cxx @@ -103,9 +103,9 @@ namespace pcr void SAL_CALL CellBindingPropertyHandler::actuatingPropertyChanged( const OUString& _rActuatingPropertyName, const Any& _rNewValue, const Any& /*_rOldValue*/, const Reference< XObjectInspectorUI >& _rxInspectorUI, sal_Bool _bFirstTimeInit ) throw (NullPointerException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); - PropertyId nActuatingPropId( impl_getPropertyId_throw( _rActuatingPropertyName ) ); + PropertyId nActuatingPropId( impl_getPropertyId_throwRuntime( _rActuatingPropertyName ) ); OSL_PRECOND( m_pHelper.get(), "CellBindingPropertyHandler::actuatingPropertyChanged: inconsistentcy!" ); - // if we survived impl_getPropertyId_throw, we should have a helper, since no helper implies no properties + // if we survived impl_getPropertyId_throwRuntime, we should have a helper, since no helper implies no properties OSL_PRECOND( _rxInspectorUI.is(), "FormComponentPropertyHandler::actuatingPropertyChanged: no access to the UI!" ); if ( !_rxInspectorUI.is() ) @@ -231,10 +231,10 @@ namespace pcr Any SAL_CALL CellBindingPropertyHandler::getPropertyValue( const OUString& _rPropertyName ) throw (UnknownPropertyException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); - PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); + PropertyId nPropId( impl_getPropertyId_throwUnknownProperty( _rPropertyName ) ); OSL_ENSURE( m_pHelper.get(), "CellBindingPropertyHandler::getPropertyValue: inconsistency!" ); - // if we survived impl_getPropertyId_throw, we should have a helper, since no helper implies no properties + // if we survived impl_getPropertyId_throwUnknownProperty, we should have a helper, since no helper implies no properties Any aReturn; switch ( nPropId ) @@ -277,10 +277,10 @@ namespace pcr void SAL_CALL CellBindingPropertyHandler::setPropertyValue( const OUString& _rPropertyName, const Any& _rValue ) throw (UnknownPropertyException, RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); - PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); + PropertyId nPropId( impl_getPropertyId_throwUnknownProperty( _rPropertyName ) ); OSL_ENSURE( m_pHelper.get(), "CellBindingPropertyHandler::setPropertyValue: inconsistency!" ); - // if we survived impl_getPropertyId_throw, we should have a helper, since no helper implies no properties + // if we survived impl_getPropertyId_throwUnknownProperty, we should have a helper, since no helper implies no properties try { |