chart2/source/controller/main/ChartController.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2684a1be8dceb0864772b57ce89ab822d198da04 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Fri May 10 07:50:15 2024 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Fri May 10 16:23:00 2024 +0200 chart2 a11y: Use XAccessible ref, not XInterface Use the more specific type that `Window::GetAccessible` returns. Change-Id: Ied837b043997b4a51b280c71d0b35ca7eaa07385 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167431 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index f21bfad50549..5c9bbb2d0133 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -1550,7 +1550,7 @@ void ChartController::impl_initializeAccessible() auto pChartWindow(GetChartWindow()); if( !pChartWindow ) return; - Reference< XInterface > xInit( pChartWindow->GetAccessible(false) ); + Reference<XAccessible> xInit = pChartWindow->GetAccessible(false); if(xInit.is()) impl_initializeAccessible( dynamic_cast<AccessibleChartView&>(*xInit) ); #endif