diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx index 388abdde326d..e075a6e708ff 100644 --- a/sw/source/core/access/acctable.cxx +++ b/sw/source/core/access/acctable.cxx @@ -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 pAcc(GetMap()->GetContextImpl(pFrame, false)); + if (!pAcc.is()) SwAccessibleContext::DisposeChild( rChildFrameOrObj, bRecursive, bCanSkipInvisible ); }