diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/chartuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/chartuno.cxx | 2 |
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; |