diff options
Diffstat (limited to 'sw/source/core/fields/expfld.cxx')
-rw-r--r-- | sw/source/core/fields/expfld.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx index 6ed4cdb7c125..c764f898d93f 100644 --- a/sw/source/core/fields/expfld.cxx +++ b/sw/source/core/fields/expfld.cxx @@ -142,7 +142,7 @@ static SwTextNode* GetFirstTextNode( const SwDoc& rDoc, SwPosition& rPos, const SwNodes& rNodes = rDoc.GetNodes(); rPos.Assign( *rNodes.GetEndOfContent().StartOfSectionNode() ); SwContentNode* pCNd; - while( nullptr != (pCNd = rNodes.GoNext( &rPos ) ) && + while( nullptr != (pCNd = SwNodes::GoNext( &rPos ) ) && nullptr == ( pTextNode = pCNd->GetTextNode() ) ) ; OSL_ENSURE( pTextNode, "Where is the 1. TextNode?" ); |