coverity#737272 Uncaught exception
Change-Id: Ibab84222db96181b175f58625105af1237e48136
This commit is contained in:
@@ -288,7 +288,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Styles_getSupportedServiceName
|
|||||||
}
|
}
|
||||||
|
|
||||||
uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Styles_createInstance(
|
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);
|
return (cppu::OWeakObject*)new ScXMLExport( comphelper::getComponentContext(rSMgr), ScXMLOOoExport_Styles_getImplementationName(), EXPORT_STYLES|EXPORT_MASTERSTYLES|EXPORT_AUTOSTYLES|EXPORT_FONTDECLS);
|
||||||
}
|
}
|
||||||
|
@@ -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 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(
|
||||||
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 uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Content_getSupportedServiceNames() throw();
|
||||||
extern OUString SAL_CALL ScXMLOOoExport_Content_getImplementationName() throw();
|
extern OUString SAL_CALL ScXMLOOoExport_Content_getImplementationName() throw();
|
||||||
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Content_createInstance(
|
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Content_createInstance(
|
||||||
|
Reference in New Issue
Block a user