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