diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 12:37:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 12:53:11 +0000 |
commit | 3907ef9e47f6208b402f570d38b53881d1391a12 (patch) | |
tree | cd83a0a3b8ec619a841f2a4e9d26dca62c3eb38e | |
parent | 50ffcf3bd5b45aec6d4b83c614019492bb5911fd (diff) |
coverity#737273 Uncaught exception
Change-Id: Ib1e7ee8903c9b3e276c9244a6e4b67499f22c661
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/appluno.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index d29609a4133f..369058676741 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -363,7 +363,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Meta_getSupportedServiceName } uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_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), ScXMLOasisExport_Meta_getImplementationName(), EXPORT_META|EXPORT_OASIS); } diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx index c966dff61e03..7a3cca3df09b 100644 --- a/sc/source/ui/unoobj/appluno.cxx +++ b/sc/source/ui/unoobj/appluno.cxx @@ -107,7 +107,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_createInstanc extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Meta_getSupportedServiceNames() throw(); extern OUString SAL_CALL ScXMLOasisExport_Meta_getImplementationName() throw(); extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_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 ScXMLOasisExport_Styles_getSupportedServiceNames() throw(); extern OUString SAL_CALL ScXMLOasisExport_Styles_getImplementationName() throw(); extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Styles_createInstance( |