summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-05-10 07:50:15 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-05-10 16:23:00 +0200
commit2684a1be8dceb0864772b57ce89ab822d198da04 (patch)
tree8b8322e8b56926222f4c242b47ec295504155758
parentlibrevenge: upgrade to 0.0.5 (diff)
downloadcore-2684a1be8dceb0864772b57ce89ab822d198da04.tar.gz
core-2684a1be8dceb0864772b57ce89ab822d198da04.zip
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.weghorn@posteo.de>
-rw-r--r--chart2/source/controller/main/ChartController.cxx2
1 files changed, 1 insertions, 1 deletions
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