summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-24 12:41:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-24 12:53:12 +0000
commit2e9d267c2ba944d8465849af608f2ee097f5810e (patch)
treedbec0f50162340e063d24cdfa010014fe86c32ea /sc
parent484af8f1d27cab8aff234e10d8db5ee5ce050427 (diff)
coverity#737278 Uncaught exception
Change-Id: I8b9c02d5e87433cb48a7cee37b696d36e453dd52
Diffstat (limited to 'sc')
-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 8578f7fdf545..1ba997798cba 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -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);
}
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index 3f4ff852d99c..0b2e0f7fa26c 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -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);