summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-02 08:40:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-02 11:39:32 +0100
commit7799d0749ace1f2508a6d046e2ed77106d68a5fa (patch)
treeb806b1d570d076ebad8f57ed7ab7897ca7d799a3 /pyuno
parentcf08d804d471ea77343489ab84a3918e82d061e4 (diff)
coverity#1309066 Uncaught exception
Change-Id: If02a62e814051bb2d75a683877f8d17ec9201993
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/inc/pyuno/pyuno.hxx2
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/inc/pyuno/pyuno.hxx b/pyuno/inc/pyuno/pyuno.hxx
index 825fa93c455f..66ad8e69fc91 100644
--- a/pyuno/inc/pyuno/pyuno.hxx
+++ b/pyuno/inc/pyuno/pyuno.hxx
@@ -210,7 +210,7 @@ public:
*/
static void SAL_CALL initialize(
const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & ctx )
- throw ( com::sun::star::uno::RuntimeException );
+ throw ( com::sun::star::uno::RuntimeException, std::exception );
/** Checks, whether the uno runtime is already initialized in the current python interpreter.
*/
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index fcc94676a3b9..cda8e8b1b669 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -302,7 +302,7 @@ void stRuntimeImpl::del(PyObject* self)
void Runtime::initialize( const Reference< XComponentContext > & ctx )
- throw ( RuntimeException )
+ throw ( RuntimeException, std::exception )
{
PyRef globalDict, runtime;
getRuntimeImpl( globalDict , runtime );