diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-05 12:44:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-05 20:34:34 +0100 |
commit | 73514d205b9e1563c946a15b807ed226d65e5464 (patch) | |
tree | e0ec7aba67f3bc55e1374b1e7f7c46fb24993936 /extensions | |
parent | f2810ae4a738d4129b62c6a323ffbba011e9767c (diff) |
coverity#706521 Uncaught exception
Change-Id: Ibb5623097f910d011c388c9c8d429871b62bf613
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/formcomponenthandler.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index bc0f6e5234b2..c7f6e315dc3f 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -1520,7 +1520,7 @@ namespace pcr throw NullPointerException(); ::osl::MutexGuard aGuard( m_aMutex ); - PropertyId nActuatingPropId( impl_getPropertyId_throw( _rActuatingPropertyName ) ); + PropertyId nActuatingPropId( impl_getPropertyId_nothrow( _rActuatingPropertyName ) ); ::std::vector< PropertyId > aDependentProperties; @@ -1780,7 +1780,9 @@ namespace pcr _rxInspectorUI->enablePropertyUI( PROPERTY_DEFAULT_STATE, bIsToggleButton ); } break; - + case -1: + throw RuntimeException(); + break; default: OSL_FAIL( "FormComponentPropertyHandler::actuatingPropertyChanged: did not register for this property!" ); break; |