From 0309070fb261476fa7c2e3cfa441ae4b168f920b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 13 Feb 2014 12:52:42 +0000 Subject: coverity#737027 Uncaught exception Change-Id: I96b07d58233cf19708bbda68bcb19f5d7f6404df --- chart2/source/controller/main/ChartController.cxx | 2 +- chart2/source/controller/main/ChartController.hxx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 6cf34f41b1b7..b8ceebf2386b 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -1030,7 +1030,7 @@ uno::Sequence > void SAL_CALL ChartController::dispatch( const util::URL& rURL, const uno::Sequence< beans::PropertyValue >& rArgs ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo avoid OString OString aCommand( OUStringToOString( rURL.Path, RTL_TEXTENCODING_ASCII_US ) ); diff --git a/chart2/source/controller/main/ChartController.hxx b/chart2/source/controller/main/ChartController.hxx index dde18a443ee6..c0871e9f14c8 100644 --- a/chart2/source/controller/main/ChartController.hxx +++ b/chart2/source/controller/main/ChartController.hxx @@ -271,7 +271,8 @@ public: dispatch( const ::com::sun::star::util::URL& aURL , const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< -- cgit v1.2.3