summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-17 11:46:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-17 16:39:19 +0100
commit209cdaa109f7e8ad23be325b70703811a4215a11 (patch)
tree92d216e40d7aaf2b854956dc9415408f0fd5c722 /sc
parentba48c86a03e18a2e2c22f4cf90ed8053cbb99367 (diff)
coverity#737702 Uncaught exception
Change-Id: Idfc005c1c34c609b7dcaae266cdaf6a15a403e5a
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/appluno.hxx2
-rw-r--r--sc/source/ui/unoobj/unodoc.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx
index be5f2d40e056..5583427798d1 100644
--- a/sc/inc/appluno.hxx
+++ b/sc/inc/appluno.hxx
@@ -50,7 +50,7 @@ com::sun::star::uno::Reference<com::sun::star::uno::XInterface> SAL_CALL
css::uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw();
OUString SAL_CALL ScDocument_getImplementationName() throw();
css::uno::Reference< css::uno::XInterface > SAL_CALL ScDocument_createInstance(
- const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr, const sal_uInt64 _nCreationFlags ) throw( css::uno::Exception );
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr, const sal_uInt64 _nCreationFlags ) throw( css::uno::Exception, std::exception );
// Calc XML import
css::uno::Sequence< OUString > SAL_CALL ScXMLImport_getSupportedServiceNames() throw();
diff --git a/sc/source/ui/unoobj/unodoc.cxx b/sc/source/ui/unoobj/unodoc.cxx
index 2da8ce21016b..d200661ea6b3 100644
--- a/sc/source/ui/unoobj/unodoc.cxx
+++ b/sc/source/ui/unoobj/unodoc.cxx
@@ -44,7 +44,7 @@ uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw()
}
uno::Reference< uno::XInterface > SAL_CALL ScDocument_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & /* rSMgr */, const sal_uInt64 _nCreationFlags ) throw( uno::Exception )
+ const uno::Reference< lang::XMultiServiceFactory > & /* rSMgr */, const sal_uInt64 _nCreationFlags ) throw( uno::Exception, std::exception )
{
SolarMutexGuard aGuard;
ScDLL::Init();