diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:13:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:22 +0000 |
commit | 97faf80004cc431b4d8ae7922d39c23f9c82f4af (patch) | |
tree | 6d7b33eec5ece0ac3ecf7370fad56a667c014a1b /sc | |
parent | c9c4536b46d7e429d5a0ebc3f195bf90a72dd13e (diff) |
coverity#737638 Uncaught exception
Change-Id: I7d665000d8f20fb1d734f6cd00af64d583b875d3
Diffstat (limited to 'sc')
-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 ????? |