summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
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 );