summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController.hxx3
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx5
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;