summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-19 11:06:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-19 13:00:44 +0100
commita75d49241df2e0dd2f1bcd3ce7fae3197eb5afe8 (patch)
treee8accbf4754450d0b6cb40419c03b23a22d97fce /pyuno
parenta205a1ffade2520314553f1fc7cb529f6fc6e59e (diff)
coverity#1371437 Uncaught exception
Change-Id: I2daa658f51a81ce9292f236075dc37c16af4279d
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_adapter.cxx2
-rw-r--r--pyuno/source/module/pyuno_impl.hxx2
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,