Pass map by pointer (just like all the other SwAccessible... ctors do)
Change-Id: Idc3daacd258b4033f81cee6b59dfa6a6c2e458da
This commit is contained in:
parent
d26da87014
commit
03f20846eb
3 changed files with 4 additions and 4 deletions
|
@ -1887,7 +1887,7 @@ uno::Reference< XAccessible> SwAccessibleMap::GetContext( const SwFrame *pFrame,
|
|||
{
|
||||
case FRM_TXT:
|
||||
mnPara++;
|
||||
pAcc = new SwAccessibleParagraph( *this,
|
||||
pAcc = new SwAccessibleParagraph( this,
|
||||
static_cast< const SwTextFrame& >( *pFrame ) );
|
||||
break;
|
||||
case FRM_HEADER:
|
||||
|
|
|
@ -531,10 +531,10 @@ void SwAccessibleParagraph::_InvalidateFocus()
|
|||
}
|
||||
|
||||
SwAccessibleParagraph::SwAccessibleParagraph(
|
||||
SwAccessibleMap& rInitMap,
|
||||
SwAccessibleMap* pInitMap,
|
||||
const SwTextFrame& rTextFrame )
|
||||
: SwClient( const_cast<SwTextNode*>(rTextFrame.GetTextNode()) ) // #i108125#
|
||||
, SwAccessibleContext( &rInitMap, AccessibleRole::PARAGRAPH, &rTextFrame )
|
||||
, SwAccessibleContext( pInitMap, AccessibleRole::PARAGRAPH, &rTextFrame )
|
||||
, sDesc()
|
||||
, pPortionData( nullptr )
|
||||
, pHyperTextData( nullptr )
|
||||
|
|
|
@ -237,7 +237,7 @@ protected:
|
|||
|
||||
public:
|
||||
|
||||
SwAccessibleParagraph( SwAccessibleMap& rInitMap,
|
||||
SwAccessibleParagraph( SwAccessibleMap* pInitMap,
|
||||
const SwTextFrame& rTextFrame );
|
||||
|
||||
inline operator css::accessibility::XAccessibleText *();
|
||||
|
|
Loading…
Reference in a new issue