chart2 a11y: Use OAccessible in AccessibleChartShape ctor

Use the more concrete OAccessible instead of the
abstract XAccessible UNO interface.

Change-Id: I18fd3378abe7c6f81a0244f7901eb0bedc9f0d32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210381
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
Michael Weghorn
2026-09-02 14:34:00 +02:00
parent ae3c3d7d3d
commit 2a21a3acf7
@@ -40,12 +40,12 @@ AccessibleChartShape::AccessibleChartShape(
return;
Reference< drawing::XShape > xShape( rAccInfo.m_aOID.getAdditionalShape() );
Reference< XAccessible > xParent;
rtl::Reference<comphelper::OAccessible> pParent;
if ( rAccInfo.m_pParent )
{
xParent.set( rAccInfo.m_pParent );
pParent.set(rAccInfo.m_pParent);
}
::accessibility::AccessibleShapeInfo aShapeInfo( xShape, xParent );
::accessibility::AccessibleShapeInfo aShapeInfo(xShape, pParent);
m_aShapeTreeInfo.SetSdrView( rAccInfo.m_pSdrView );
m_aShapeTreeInfo.SetController( nullptr );