diff options
Diffstat (limited to 'sw/source/core/fields/docufld.cxx')
-rw-r--r-- | sw/source/core/fields/docufld.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx index 2a74a435394b..d6631e7225a4 100644 --- a/sw/source/core/fields/docufld.cxx +++ b/sw/source/core/fields/docufld.cxx @@ -159,7 +159,7 @@ void SwPageNumberFieldType::ChangeExpansion( SwDoc* pDoc, const SwCntntNode* pNd = PTR_CAST( SwCntntNode, pDesc->GetDefinedIn() ); if( pNd ) { - if ( SwIterator<SwFrm,SwCntntNode>::FirstElement(*pNd) ) + if ( SwIterator<SwFrm,SwCntntNode>(*pNd).First() ) bVirtuell = true; } else if( pDesc->GetDefinedIn()->ISA( SwFmt )) |