diff options
-rw-r--r-- | sc/inc/cellsuno.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index 1e8eac78716e..a5b596b2c93e 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -768,9 +768,11 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSubTotalDescriptor > SAL_CALL createSubTotalDescriptor( sal_Bool bEmpty ) throw(::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL applySubTotals( const ::com::sun::star::uno::Reference< + virtual void SAL_CALL applySubTotals(const ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSubTotalDescriptor >& xDescriptor, - sal_Bool bReplace ) throw(::com::sun::star::uno::RuntimeException); + sal_Bool bReplace) + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL removeSubTotals() throw(::com::sun::star::uno::RuntimeException); // XImportable diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 94775569fd90..9abcc28e92e6 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -5835,8 +5835,9 @@ uno::Reference<sheet::XSubTotalDescriptor> SAL_CALL ScCellRangeObj::createSubTot } void SAL_CALL ScCellRangeObj::applySubTotals( - const uno::Reference<sheet::XSubTotalDescriptor>& xDescriptor, - sal_Bool bReplace ) throw(uno::RuntimeException) + const uno::Reference<sheet::XSubTotalDescriptor>& xDescriptor, + sal_Bool bReplace) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; |