summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-25 20:17:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-25 20:56:30 +0000
commit26d50b03c83f7d12c334c466bd3ca0be29d1f6ec (patch)
tree9f020cede0647b8b42a607f4a859be14aadadb1c
parent8fe954bf05fcbb458d1cceb36705590b5e8fbe39 (diff)
coverity#1158349 Uncaught exception
Change-Id: I9c6ff59dbb3a286a37dcef8e47f38226f6765621
-rw-r--r--sc/inc/cellsuno.hxx3
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 1975069709cb..e0e109968c25 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -381,7 +381,8 @@ public:
::com::sun::star::uno::Sequence< double > >& aData )
throw(::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getRowDescriptions()
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void SAL_CALL setRowDescriptions( const ::com::sun::star::uno::Sequence<
OUString >& aRowDescriptions )
throw(::com::sun::star::uno::RuntimeException);
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index f81d688a708c..6a8e1d03bc26 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -3178,7 +3178,7 @@ void SAL_CALL ScCellRangesBase::setData( const uno::Sequence< uno::Sequence<doub
}
uno::Sequence<OUString> SAL_CALL ScCellRangesBase::getRowDescriptions()
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScMemChart* pMemChart = CreateMemChart_Impl();