Kaydet (Commit) 5eb94774 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#737271 Uncaught exception

Change-Id: I3275220925cc81ce5dbf507793e0d74cb88e2ab4
üst f78dbca6
...@@ -270,7 +270,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Meta_getSupportedServiceNames( ...@@ -270,7 +270,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Meta_getSupportedServiceNames(
} }
uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Meta_createInstance( uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Meta_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_Meta_getImplementationName(), EXPORT_META ); return (cppu::OWeakObject*)new ScXMLExport( comphelper::getComponentContext(rSMgr), ScXMLOOoExport_Meta_getImplementationName(), EXPORT_META );
} }
......
...@@ -81,7 +81,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_createInstance( ...@@ -81,7 +81,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_createInstance(
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(
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_Styles_getSupportedServiceNames() throw(); extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Styles_getSupportedServiceNames() throw();
extern OUString SAL_CALL ScXMLOOoExport_Styles_getImplementationName() throw(); extern OUString SAL_CALL ScXMLOOoExport_Styles_getImplementationName() throw();
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Styles_createInstance( extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Styles_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