summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-24 12:34:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-24 12:53:10 +0000
commitf78dbca68210ebd2aa09a6af5a600c3e24cd3a37 (patch)
tree0b2fe71e96d4d4289d3f2aee80e422774aa76507
parent3d5f2d13dfb4d0d14f8576f7f1797c3fd5029340 (diff)
coverity#737270 Uncaught exception
Change-Id: I7f129c868034df3d56060cc870c335b36a1a6d4a
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx3
-rw-r--r--sc/source/ui/unoobj/appluno.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index e333095feec7..443a924ac07b 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -342,7 +342,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_getSupportedServiceNames() t
}
uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_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_getImplementationName(), EXPORT_ALL|EXPORT_OASIS);
}
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index 3394ea3dc2c2..4eba07c94da7 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -100,7 +100,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_create
extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_getSupportedServiceNames() throw();
extern OUString SAL_CALL ScXMLOasisExport_getImplementationName() throw();
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_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_Meta_getSupportedServiceNames() throw();
extern OUString SAL_CALL ScXMLOasisExport_Meta_getImplementationName() throw();
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Meta_createInstance(