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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user