coverity#737272 Uncaught exception

Change-Id: Ibab84222db96181b175f58625105af1237e48136
This commit is contained in:
Caolán McNamara
2014-02-24 12:37:06 +00:00
parent 5eb9477445
commit 50ffcf3bd5
2 changed files with 4 additions and 2 deletions

View File

@@ -288,7 +288,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Styles_getSupportedServiceName
}
uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Styles_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_Styles_getImplementationName(), EXPORT_STYLES|EXPORT_MASTERSTYLES|EXPORT_AUTOSTYLES|EXPORT_FONTDECLS);
}

View File

@@ -86,7 +86,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Meta_createInst
extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Styles_getSupportedServiceNames() throw();
extern OUString SAL_CALL ScXMLOOoExport_Styles_getImplementationName() throw();
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Styles_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_Content_getSupportedServiceNames() throw();
extern OUString SAL_CALL ScXMLOOoExport_Content_getImplementationName() throw();
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Content_createInstance(