coverity#1371437 Uncaught exception

Change-Id: I2daa658f51a81ce9292f236075dc37c16af4279d
This commit is contained in:
Caolán McNamara
2016-08-19 11:06:40 +01:00
parent a205a1ffad
commit a75d49241d
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ sal_Int64 Adapter::getSomething( const Sequence< sal_Int8 > &id) throw (RuntimeE
} }
void raiseInvocationTargetExceptionWhenNeeded( const Runtime &runtime ) void raiseInvocationTargetExceptionWhenNeeded( const Runtime &runtime )
throw ( InvocationTargetException ) throw ( InvocationTargetException, RuntimeException )
{ {
if( !Py_IsInitialized() ) if( !Py_IsInitialized() )
throw InvocationTargetException(); throw InvocationTargetException();

View File

@@ -262,7 +262,7 @@ OUString pyString2ustring( PyObject *str );
void raiseInvocationTargetExceptionWhenNeeded( const Runtime &runtime ) void raiseInvocationTargetExceptionWhenNeeded( const Runtime &runtime )
throw ( css::reflection::InvocationTargetException ); throw (css::reflection::InvocationTargetException, css::uno::RuntimeException);
PyRef PyUNO_callable_new ( PyRef PyUNO_callable_new (
const css::uno::Reference<css::script::XInvocation2> &xInv, const css::uno::Reference<css::script::XInvocation2> &xInv,