sw a11y: Don't explicitly call uno::Reference<XAccessible> ctor
That is done implicitly. Not explicitly doing it could simplify switching the AccessibleShapeInfo ctor param from uno::Reference<XAccessible> to rtl::Reference<OAccessible> in the future. Change-Id: I3cd332a2ea307c23e080af893728f36fc5061ff3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210382 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
This commit is contained in:
@@ -1804,8 +1804,7 @@ SwAccessibleMap::GetContextImpl(const SdrObject* pObj, SwAccessibleContext* pPar
|
||||
::accessibility::ShapeTypeHandler& rShapeTypeHandler =
|
||||
::accessibility::ShapeTypeHandler::Instance();
|
||||
|
||||
::accessibility::AccessibleShapeInfo aShapeInfo(
|
||||
xShape, uno::Reference<XAccessible>(pParentImpl), this );
|
||||
::accessibility::AccessibleShapeInfo aShapeInfo(xShape, pParentImpl, this);
|
||||
|
||||
xAcc = rShapeTypeHandler.CreateAccessibleObject(
|
||||
aShapeInfo, mpShapeMap->GetInfo() );
|
||||
|
||||
Reference in New Issue
Block a user