diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 13:36:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 13:36:09 +0000 |
commit | 03bdbcb42aa3be6932d390eeaa14ee2e4d45a172 (patch) | |
tree | fad9e530403498c37ad75826c487aa7b3a106fa4 | |
parent | f10e4ce1ed2dace97823c59ca8b0dca161db42aa (diff) |
coverity#737508 Uncaught exception
Change-Id: I100bd99fdbf2929214f89baac962d74cb6a530a6
-rw-r--r-- | sc/inc/dapiuno.hxx | 5 | ||||
-rw-r--r-- | sc/source/ui/unoobj/dapiuno.cxx | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index 5ba3cd671b32..a826bbdba540 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -514,8 +514,9 @@ public: virtual OUString SAL_CALL getName() throw (::com::sun::star::uno::RuntimeException, std::exception); - virtual void SAL_CALL setName( const OUString& aName ) - throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setName(const OUString& aName) + throw (::com::sun::star::uno::RuntimeException, + std::exception); // XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx index d25ec0db9fcf..63cd500491bc 100644 --- a/sc/source/ui/unoobj/dapiuno.cxx +++ b/sc/source/ui/unoobj/dapiuno.cxx @@ -1865,7 +1865,8 @@ OUString SAL_CALL ScDataPilotFieldObj::getName() return aName; } -void SAL_CALL ScDataPilotFieldObj::setName( const OUString& rName ) throw(RuntimeException) +void SAL_CALL ScDataPilotFieldObj::setName(const OUString& rName) + throw (RuntimeException, std::exception) { SolarMutexGuard aGuard; ScDPObject* pDPObj = 0; |