diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-05-10 07:50:15 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-05-10 16:23:00 +0200 |
commit | 2684a1be8dceb0864772b57ce89ab822d198da04 (patch) | |
tree | 8b8322e8b56926222f4c242b47ec295504155758 /chart2 | |
parent | 49a0203e7aa3a98bbed4412ab4364614505f88eb (diff) |
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>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 2 |
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 |