summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-05 12:44:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-05 20:34:34 +0100
commit73514d205b9e1563c946a15b807ed226d65e5464 (patch)
treee0ec7aba67f3bc55e1374b1e7f7c46fb24993936 /extensions
parentf2810ae4a738d4129b62c6a323ffbba011e9767c (diff)
coverity#706521 Uncaught exception
Change-Id: Ibb5623097f910d011c388c9c8d429871b62bf613
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx6
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;