summaryrefslogtreecommitdiff
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.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index dd4ffbcec57c..8338fd001f52 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -394,7 +394,7 @@ bool SwNode::IsInVisibleArea( SwViewShell const * pSh ) const
if( SwNodeType::Start & m_nNodeType )
{
SwNodeIndex aIdx( *this );
- pNd = GetNodes().GoNext( &aIdx );
+ pNd = SwNodes::GoNext(&aIdx);
}
else if( SwNodeType::End & m_nNodeType )
{
@@ -504,7 +504,7 @@ const SwPageDesc* SwNode::FindPageDesc( SwNodeOffset* pPgDescNdIdx ) const
if( SwNodeType::Start & m_nNodeType )
{
SwNodeIndex aIdx( *this );
- pNode = GetNodes().GoNext( &aIdx );
+ pNode = SwNodes::GoNext(&aIdx);
}
else if( SwNodeType::End & m_nNodeType )
{
@@ -994,9 +994,8 @@ void SwStartNode::CheckSectionCondColl() const
{
SwNodeIndex aIdx( *this );
SwNodeOffset nEndIdx = EndOfSectionIndex();
- const SwNodes& rNds = GetNodes();
SwContentNode* pCNd;
- while( nullptr != ( pCNd = rNds.GoNext( &aIdx )) && pCNd->GetIndex() < nEndIdx )
+ while (nullptr != (pCNd = SwNodes::GoNext(&aIdx)) && pCNd->GetIndex() < nEndIdx)
pCNd->ChkCondColl();
}