coverity#1308526 Uncaught exception

Change-Id: Ie0266c7e8ab5980dc25ce14edd42b3f599f71245
This commit is contained in:
Caolán McNamara
2015-06-28 17:02:30 +01:00
parent 65b0c0da01
commit a1a7aa93a3
2 changed files with 2 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ public:
static PyRef create( static PyRef create(
const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & xContext ) 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 );
}; };

View File

@@ -250,7 +250,7 @@ static void readLoggingConfig( sal_Int32 *pLevel, FILE **ppFile )
RuntimeImpl implementations RuntimeImpl implementations
*-------------------------------------------------------------------*/ *-------------------------------------------------------------------*/
PyRef stRuntimeImpl::create( const Reference< XComponentContext > &ctx ) 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); RuntimeImpl *me = PyObject_New (RuntimeImpl, &RuntimeImpl_Type);
if( ! me ) if( ! me )