diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:05:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:20 +0000 |
commit | 291bd0964b6e42b23e989d94262758b5d59da05a (patch) | |
tree | a05e87ab135ac21da5a28382cf418bdc04570076 /sc | |
parent | 20a051ba4c5d4cdbd3f56e55c82b3dfc08ff77fd (diff) |
coverity#737618 Uncaught exception
Change-Id: Ib8b5f89136dbd51c4cbcdca98584daa0f673982e
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/linkuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/linkuno.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx index cfba497bd75a..30b27ebe459e 100644 --- a/sc/inc/linkuno.hxx +++ b/sc/inc/linkuno.hxx @@ -420,7 +420,8 @@ public: std::exception); virtual void SAL_CALL setResults( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > >& aResults ) - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx index 68c09be11e5e..c3f435669393 100644 --- a/sc/source/ui/unoobj/linkuno.cxx +++ b/sc/source/ui/unoobj/linkuno.cxx @@ -1218,7 +1218,7 @@ uno::Sequence< uno::Sequence< uno::Any > > ScDDELinkObj::getResults( ) } void ScDDELinkObj::setResults( const uno::Sequence< uno::Sequence< uno::Any > >& aResults ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; bool bSuccess = false; |