diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 12:56:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 12:56:18 +0000 |
commit | 6bc58bbd2a64dea3fe21cb1cf067514aadceac21 (patch) | |
tree | e99fabe7d5e7db96849050d54f8224ce0b8eb289 | |
parent | 0a3526f61f7983934dc8a33f2f6e35ca777bc9f3 (diff) |
coverity#737458 Uncaught exception
Change-Id: Ida42725016395d9629bb97bd8cf0b660195c4f1c
-rw-r--r-- | sc/inc/cellsuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index a9b2922bb4fc..8527f6f2f2e3 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -964,7 +964,8 @@ public: // XFormulaTokens virtual ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken > SAL_CALL getTokens() - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL setTokens( const ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken >& aTokens ) throw (::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 27e39cf5b39b..b63d368afc31 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -6623,7 +6623,8 @@ sal_Int32 SAL_CALL ScCellObj::getError() throw(uno::RuntimeException) // XFormulaTokens -uno::Sequence<sheet::FormulaToken> SAL_CALL ScCellObj::getTokens() throw(uno::RuntimeException) +uno::Sequence<sheet::FormulaToken> SAL_CALL ScCellObj::getTokens() + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; uno::Sequence<sheet::FormulaToken> aSequence; |