From 4fe6abdf69488dd52806085f812b69317b0d2d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 7 Feb 2014 20:47:18 +0000 Subject: [PATCH] coverity#737046 Uncaught exception Change-Id: Icc089ca0b320c7db0e00b48a787e1657d65514ae --- chart2/inc/ChartView.hxx | 3 ++- chart2/source/view/main/ChartView.cxx | 2 +- 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())