Pass map by pointer (just like all the other SwAccessible... ctors do)

Change-Id: Idc3daacd258b4033f81cee6b59dfa6a6c2e458da
This commit is contained in:
Stephan Bergmann 2016-02-17 16:00:31 +01:00
parent d26da87014
commit 03f20846eb
3 changed files with 4 additions and 4 deletions

View file

@ -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:

View file

@ -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 )

View file

@ -237,7 +237,7 @@ protected:
public:
SwAccessibleParagraph( SwAccessibleMap& rInitMap,
SwAccessibleParagraph( SwAccessibleMap* pInitMap,
const SwTextFrame& rTextFrame );
inline operator css::accessibility::XAccessibleText *();