Kaydet (Commit) 9742d413 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#737275 Uncaught exception

Change-Id: I4e1b0cfc50f044b9b66b573c374254fa74607244
üst 68d9649f
...@@ -319,7 +319,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Settings_getSupportedServiceNa ...@@ -319,7 +319,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Settings_getSupportedServiceNa
} }
uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_createInstance( uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_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_Settings_getImplementationName(), EXPORT_SETTINGS ); return (cppu::OWeakObject*)new ScXMLExport( comphelper::getComponentContext(rSMgr), ScXMLOOoExport_Settings_getImplementationName(), EXPORT_SETTINGS );
} }
......
...@@ -92,7 +92,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Content_createI ...@@ -92,7 +92,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Content_createI
extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Settings_getSupportedServiceNames() throw(); extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Settings_getSupportedServiceNames() throw();
extern OUString SAL_CALL ScXMLOOoExport_Settings_getImplementationName() throw(); extern OUString SAL_CALL ScXMLOOoExport_Settings_getImplementationName() throw();
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_createInstance( extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception ); const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
throw( uno::Exception, std::exception );
// Calc XML Oasis export // Calc XML Oasis export
extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_getSupportedServiceNames() throw(); extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_getSupportedServiceNames() throw();
......
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