diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 12:32:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 13:49:50 +0100 |
commit | c4415f16fbb68ddd09c61ce3fcdf2c72b0da76a7 (patch) | |
tree | 96b4c2a2ffc622aa9a3687a20b6f6b24045aecd7 /chart2 | |
parent | 3d046b753dbdd3623cfaab132c5ada03e15bf8be (diff) |
coverity#706260 Uncaught exception
Change-Id: Ieef198f6aab05928bf3b77097466eb7ac728481f
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController.hxx | 3 | ||||
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/main/ChartController.hxx b/chart2/source/controller/main/ChartController.hxx index 485a2b75d094..41bc76398dc8 100644 --- a/chart2/source/controller/main/ChartController.hxx +++ b/chart2/source/controller/main/ChartController.hxx @@ -215,7 +215,8 @@ public: // ::com::sun::star::view::XSelectionSupplier (optional interface) virtual sal_Bool SAL_CALL select( const ::com::sun::star::uno::Any& rSelection ) - throw ( com::sun::star::lang::IllegalArgumentException, std::exception ) SAL_OVERRIDE; + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Any SAL_CALL getSelection() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index b9b84590683f..a05c685f71c8 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -1618,9 +1618,8 @@ bool ChartController::requestQuickHelp( } // XSelectionSupplier (optional interface) - sal_Bool SAL_CALL ChartController -::select( const uno::Any& rSelection ) - throw( lang::IllegalArgumentException, std::exception ) +sal_Bool SAL_CALL ChartController::select( const uno::Any& rSelection ) + throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { bool bSuccess = false; |