sw a11y: Use more concrete type in SwAccessibleTable::DisposeChild
Use the more concrete SwAccessibleContext instead of the abstract XAccessible UNO interface for the local variable. Change-Id: I8ba838163a683c088886ee695188a779aacf6b01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210620 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
This commit is contained in:
@@ -1098,8 +1098,8 @@ void SwAccessibleTable::DisposeChild( const SwAccessibleChild& rChildFrameOrObj,
|
||||
// the map, and we have to call our superclass.
|
||||
// The other situation is that we have been call by a call to get notified
|
||||
// about its change. We then must not call the superclass
|
||||
uno::Reference< XAccessible > xAcc( GetMap()->GetContext( pFrame, false ) );
|
||||
if( !xAcc.is() )
|
||||
rtl::Reference<SwAccessibleContext> pAcc(GetMap()->GetContextImpl(pFrame, false));
|
||||
if (!pAcc.is())
|
||||
SwAccessibleContext::DisposeChild( rChildFrameOrObj, bRecursive, bCanSkipInvisible );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user