summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-13 12:52:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-13 14:56:18 +0000
commit5d061edbd7b452d926e3af9e5382200f19e169d1 (patch)
treea0f7f335043ba040e405598a74445591b283dbc8
parentb44ba1ace8908f413a62f693232c05921d44acd9 (diff)
coverity#737024 Uncaught exception
Change-Id: Ifdb5fb60c436e847ba85d690f8ca0087bd516ab7
-rw-r--r--chart2/source/controller/main/ChartController.cxx2
-rw-r--r--chart2/source/controller/main/ChartController.hxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index dab10a2e56ae..6cf34f41b1b7 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -431,7 +431,7 @@ void SAL_CALL ChartController::attachFrame(
//XModeChangeListener
void SAL_CALL ChartController::modeChanged( const util::ModeChangeEvent& rEvent )
- throw ( uno::RuntimeException )
+ throw (uno::RuntimeException, std::exception)
{
//adjust controller to view status changes
diff --git a/chart2/source/controller/main/ChartController.hxx b/chart2/source/controller/main/ChartController.hxx
index b192a630bb59..dde18a443ee6 100644
--- a/chart2/source/controller/main/ChartController.hxx
+++ b/chart2/source/controller/main/ChartController.hxx
@@ -389,7 +389,8 @@ public:
// ::com::sun::star::util::XModeChangeListener
virtual void SAL_CALL modeChanged(
const ::com::sun::star::util::ModeChangeEvent& _rSource )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
// ::com::sun::star::frame::XLayoutManagerListener
virtual void SAL_CALL layoutEvent(