diff options
-rw-r--r-- | sc/inc/nameuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/nameuno.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/nameuno.hxx b/sc/inc/nameuno.hxx index 5d817f71218d..01d42ff5bd10 100644 --- a/sc/inc/nameuno.hxx +++ b/sc/inc/nameuno.hxx @@ -103,7 +103,8 @@ public: /// XNamed virtual OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setName( const OUString& aName ) - throw(::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); /// XCellRangeReferrer virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL diff --git a/sc/source/ui/unoobj/nameuno.cxx b/sc/source/ui/unoobj/nameuno.cxx index 6861276c2293..91768158b141 100644 --- a/sc/source/ui/unoobj/nameuno.cxx +++ b/sc/source/ui/unoobj/nameuno.cxx @@ -220,7 +220,7 @@ OUString SAL_CALL ScNamedRangeObj::getName() throw(uno::RuntimeException) } void SAL_CALL ScNamedRangeObj::setName( const OUString& aNewName ) - throw(uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; //! adapt formulas ????? |