summaryrefslogtreecommitdiffstats
path: root/sw/source/core/docnode/node.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/docnode/node.cxx')
-rw-r--r--sw/source/core/docnode/node.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index d92c1d86da44..c955dd321ac9 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -391,7 +391,7 @@ bool SwNode::IsInVisibleArea( SwViewShell const * pSh ) const
{ pFrame = pFrame->FindPrev();
} while ( pFrame && !pFrame->IsValid() );
- if( !pFrame || pSh->VisArea().IsOver( pFrame->Frame() ) )
+ if( !pFrame || pSh->VisArea().IsOver( pFrame->getSwFrame() ) )
bRet = true;
}
}
@@ -785,7 +785,7 @@ const SwTextNode* SwNode::FindOutlineNodeOfLevel( sal_uInt8 nLvl ) const
* pMyFrame = pCNd ? pCNd->getLayoutFrame( pCNd->GetDoc()->getIDocumentLayoutAccess().GetCurrentLayout(), &aPt, nullptr, false ) : nullptr;
const SwPageFrame* pPgFrame = pFrame ? pFrame->FindPageFrame() : nullptr;
if( pPgFrame && pMyFrame &&
- pPgFrame->Frame().Top() > pMyFrame->Frame().Top() )
+ pPgFrame->getSwFrame().Top() > pMyFrame->getSwFrame().Top() )
{
// The one asking precedes the Page, thus its invalid
pRet = nullptr;
@@ -1122,7 +1122,7 @@ SwRect SwContentNode::FindLayoutRect( const bool bPrtArea, const Point* pPoint )
SwContentFrame* pFrame = static_cast<SwContentFrame*>( ::GetFrameOfModify( nullptr, *this,
FRM_CNTNT, pPoint ) );
if( pFrame )
- aRet = bPrtArea ? pFrame->Prt() : pFrame->Frame();
+ aRet = bPrtArea ? pFrame->getSwPrint() : pFrame->getSwFrame();
return aRet;
}
@@ -1131,7 +1131,7 @@ SwRect SwContentNode::FindPageFrameRect() const
SwRect aRet;
SwFrame* pFrame = ::GetFrameOfModify( nullptr, *this, FRM_CNTNT );
if( pFrame && nullptr != ( pFrame = pFrame->FindPageFrame() ))
- aRet = pFrame->Frame();
+ aRet = pFrame->getSwFrame();
return aRet;
}