summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-07 20:47:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-07 20:47:18 +0000
commit4fe6abdf69488dd52806085f812b69317b0d2d49 (patch)
tree97c53dd911a31290be9f93c6561f71e0d915ca5e
parentd32883b641724f7e9efa205a55068bc664660bbf (diff)
coverity#737046 Uncaught exception
Change-Id: Icc089ca0b320c7db0e00b48a787e1657d65514ae
-rw-r--r--chart2/inc/ChartView.hxx3
-rw-r--r--chart2/source/view/main/ChartView.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx
index 766563a43c97..f44d952a46ab 100644
--- a/chart2/inc/ChartView.hxx
+++ b/chart2/inc/ChartView.hxx
@@ -191,7 +191,8 @@ public:
// XDumper
virtual OUString SAL_CALL dump()
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException,
+ std::exception);
void setViewDirty();
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 001c786d35fe..3bdf76207133 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -3014,7 +3014,7 @@ uno::Sequence< OUString > ChartView::getAvailableServiceNames() throw (uno::Runt
return aServiceNames;
}
-OUString ChartView::dump() throw (uno::RuntimeException)
+OUString ChartView::dump() throw (uno::RuntimeException, std::exception)
{
impl_updateView();
if(!mxRootShape.is())