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:
Michael Weghorn
2026-09-02 14:34:09 +02:00
parent 2a21a3acf7
commit 2c10049b94
+1 -2
View File
@@ -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() );