Fix warning for emscripten build

TB lo_daily_tb_linux_wasm shows:
/home/tdf/jenkins/workspace/lo_gerrit/tb/src_wasm/chart2/source/controller/main/ChartController.cxx:1557:71: warning: unused parameter 'rAccChartView' [-Wunused-parameter]
void ChartController::impl_initializeAccessible( AccessibleChartView& rAccChartView )
                                                                      ^
1 warning generated.

Change-Id: If584e6944c1d9105a7a8b7170dc1022911b57bf9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159373
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
This commit is contained in:
Julien Nabet
2023-11-13 13:33:00 +01:00
parent 0d30e2a8cd
commit 288001be68

View File

@@ -1554,9 +1554,9 @@ void ChartController::impl_initializeAccessible()
impl_initializeAccessible( dynamic_cast<AccessibleChartView&>(*xInit) );
#endif
}
#if !ENABLE_WASM_STRIP_ACCESSIBILITY
void ChartController::impl_initializeAccessible( AccessibleChartView& rAccChartView )
{
#if !ENABLE_WASM_STRIP_ACCESSIBILITY
uno::Reference< XAccessible > xParent;
{
SolarMutexGuard aGuard;
@@ -1570,8 +1570,10 @@ void ChartController::impl_initializeAccessible( AccessibleChartView& rAccChartV
}
rAccChartView.initialize(*this, getChartModel(), m_xChartView, xParent, m_xViewWindow);
#endif
}
#else
void ChartController::impl_initializeAccessible( AccessibleChartView& /* rAccChartView */) {}
#endif
const o3tl::sorted_vector< OUString >& ChartController::impl_getAvailableCommands()
{