coverity#737278 Uncaught exception

Change-Id: I8b9c02d5e87433cb48a7cee37b696d36e453dd52
This commit is contained in:
Caolán McNamara
2014-02-24 12:41:35 +00:00
parent 484af8f1d2
commit 2e9d267c2b
2 changed files with 4 additions and 2 deletions

View File

@@ -421,7 +421,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Settings_getSupportedService
}
uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_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), ScXMLOasisExport_Settings_getImplementationName(), EXPORT_SETTINGS|EXPORT_OASIS);
}

View File

@@ -123,7 +123,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Content_creat
extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Settings_getSupportedServiceNames() throw();
extern OUString SAL_CALL ScXMLOasisExport_Settings_getImplementationName() throw();
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Settings_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception );
const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
throw (uno::Exception, std::exception);