diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 12:52:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 14:56:18 +0000 |
commit | 0309070fb261476fa7c2e3cfa441ae4b168f920b (patch) | |
tree | 84d8f45d19fc644ddfe70c2fd5394407c2898d2e /chart2/source | |
parent | 5d061edbd7b452d926e3af9e5382200f19e169d1 (diff) |
coverity#737027 Uncaught exception
Change-Id: I96b07d58233cf19708bbda68bcb19f5d7f6404df
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 2 | ||||
-rw-r--r-- | 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<uno::Reference<frame::XDispatch > > 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< |