diff options
-rw-r--r-- | sc/inc/chartuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/chartuno.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/chartuno.hxx b/sc/inc/chartuno.hxx index ca667e2ac151..c4030487493d 100644 --- a/sc/inc/chartuno.hxx +++ b/sc/inc/chartuno.hxx @@ -67,7 +67,8 @@ public: const ::com::sun::star::uno::Sequence< ::com::sun::star::table::CellRangeAddress >& aRanges, sal_Bool bColumnHeaders, sal_Bool bRowHeaders ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL removeByName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/chartuno.cxx b/sc/source/ui/unoobj/chartuno.cxx index a6cfba0d7094..b3bed22b39ff 100644 --- a/sc/source/ui/unoobj/chartuno.cxx +++ b/sc/source/ui/unoobj/chartuno.cxx @@ -169,7 +169,8 @@ void SAL_CALL ScChartsObj::addNewByName( const OUString& rName, const awt::Rectangle& aRect, const uno::Sequence<table::CellRangeAddress>& aRanges, sal_Bool bColumnHeaders, sal_Bool bRowHeaders ) - throw(::com::sun::star::uno::RuntimeException) + throw(::com::sun::star::uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; if (!pDocShell) |