summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 09:22:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 11:14:31 +0000
commit39fac0c7baa93ce46f871f1795c2f46c7be798f8 (patch)
treecdb49111e60549281d9cc13c1297a0325f57ef12 /sc
parent481d9840abbad3d6a56a5f1c504591a38630328f (diff)
coverity#1158328 Uncaught exception
Change-Id: I143b5614a2fcc0d6ec9a956c619503730fb683d7
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/chartuno.hxx3
-rw-r--r--sc/source/ui/unoobj/chartuno.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/chartuno.hxx b/sc/inc/chartuno.hxx
index 1426f46406ab..ca667e2ac151 100644
--- a/sc/inc/chartuno.hxx
+++ b/sc/inc/chartuno.hxx
@@ -169,7 +169,8 @@ public:
getRanges( ) throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setRanges( const ::com::sun::star::uno::Sequence<
::com::sun::star::table::CellRangeAddress >& aRanges )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException,
+ std::exception);
// XEmbeddedObjectSupplier
virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > SAL_CALL
diff --git a/sc/source/ui/unoobj/chartuno.cxx b/sc/source/ui/unoobj/chartuno.cxx
index 47b73e0a89b0..a6cfba0d7094 100644
--- a/sc/source/ui/unoobj/chartuno.cxx
+++ b/sc/source/ui/unoobj/chartuno.cxx
@@ -732,7 +732,7 @@ uno::Sequence<table::CellRangeAddress> SAL_CALL ScChartObj::getRanges() throw(un
}
void SAL_CALL ScChartObj::setRanges( const uno::Sequence<table::CellRangeAddress>& aRanges )
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScRangeListRef xOldRanges = new ScRangeList;