summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 17:02:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:55:54 +0100
commita1a7aa93a39b1c66a1ee2e54a5c92a85f4a8e256 (patch)
tree65b37bdeed0946723d0fa641514152c8a0977b29 /pyuno
parent65b0c0da01865c8eb79b7450c18ef0cabfba7c19 (diff)
coverity#1308526 Uncaught exception
Change-Id: Ie0266c7e8ab5980dc25ce14edd42b3f599f71245
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_impl.hxx2
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx
index f7824ba50566..5f0df95efaea 100644
--- a/pyuno/source/module/pyuno_impl.hxx
+++ b/pyuno/source/module/pyuno_impl.hxx
@@ -347,7 +347,7 @@ public:
static PyRef create(
const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & xContext )
- throw ( com::sun::star::uno::RuntimeException );
+ throw ( com::sun::star::uno::RuntimeException, std::exception );
};
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index e92ad56ed5d6..fcc94676a3b9 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -250,7 +250,7 @@ static void readLoggingConfig( sal_Int32 *pLevel, FILE **ppFile )
RuntimeImpl implementations
*-------------------------------------------------------------------*/
PyRef stRuntimeImpl::create( const Reference< XComponentContext > &ctx )
- throw( com::sun::star::uno::RuntimeException )
+ throw( com::sun::star::uno::RuntimeException, std::exception )
{
RuntimeImpl *me = PyObject_New (RuntimeImpl, &RuntimeImpl_Type);
if( ! me )