diff options
-rw-r--r-- | pyuno/source/module/pyuno_adapter.cxx | 2 | ||||
-rw-r--r-- | pyuno/source/module/pyuno_impl.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx index cf60272a917e..f43d2785797e 100644 --- a/pyuno/source/module/pyuno_adapter.cxx +++ b/pyuno/source/module/pyuno_adapter.cxx @@ -78,7 +78,7 @@ sal_Int64 Adapter::getSomething( const Sequence< sal_Int8 > &id) throw (RuntimeE } void raiseInvocationTargetExceptionWhenNeeded( const Runtime &runtime ) - throw ( InvocationTargetException ) + throw ( InvocationTargetException, RuntimeException ) { if( !Py_IsInitialized() ) throw InvocationTargetException(); diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx index 31b43ceb7366..653d6fd51432 100644 --- a/pyuno/source/module/pyuno_impl.hxx +++ b/pyuno/source/module/pyuno_impl.hxx @@ -262,7 +262,7 @@ OUString pyString2ustring( PyObject *str ); void raiseInvocationTargetExceptionWhenNeeded( const Runtime &runtime ) - throw ( css::reflection::InvocationTargetException ); + throw (css::reflection::InvocationTargetException, css::uno::RuntimeException); PyRef PyUNO_callable_new ( const css::uno::Reference<css::script::XInvocation2> &xInv, |