Kaydet (Commit) 3d5f2d13 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#737269 Uncaught exception

Change-Id: Ib6240c818c6f17df63693aa4fc4a4ca207df27b6
üst 9cbc3a2a
...@@ -252,7 +252,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_getSupportedServiceNames() thr ...@@ -252,7 +252,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_getSupportedServiceNames() thr
} }
uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_createInstance( uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception ) const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
throw(uno::Exception, std::exception)
{ {
return (cppu::OWeakObject*)new ScXMLExport( comphelper::getComponentContext(rSMgr), ScXMLOOoExport_getImplementationName(), EXPORT_ALL ); return (cppu::OWeakObject*)new ScXMLExport( comphelper::getComponentContext(rSMgr), ScXMLOOoExport_getImplementationName(), EXPORT_ALL );
} }
......
...@@ -76,7 +76,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLImport_Settings_createIns ...@@ -76,7 +76,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLImport_Settings_createIns
extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_getSupportedServiceNames() throw(); extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_getSupportedServiceNames() throw();
extern OUString SAL_CALL ScXMLOOoExport_getImplementationName() throw(); extern OUString SAL_CALL ScXMLOOoExport_getImplementationName() throw();
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_createInstance( extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception ); const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
throw (uno::Exception, std::exception);
extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Meta_getSupportedServiceNames() throw(); extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Meta_getSupportedServiceNames() throw();
extern OUString SAL_CALL ScXMLOOoExport_Meta_getImplementationName() throw(); extern OUString SAL_CALL ScXMLOOoExport_Meta_getImplementationName() throw();
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Meta_createInstance( extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Meta_createInstance(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment