summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edatmisc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edatmisc.cxx')
-rw-r--r--sw/source/core/edit/edatmisc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edatmisc.cxx b/sw/source/core/edit/edatmisc.cxx
index cfc465fce837..7cdd4c228546 100644
--- a/sw/source/core/edit/edatmisc.cxx
+++ b/sw/source/core/edit/edatmisc.cxx
@@ -74,7 +74,7 @@ void SwEditShell::GCAttr()
if( pNd->IsTextNode() )
static_cast<SwTextNode*>(pNd)->GCAttr();
}
- while( nullptr != ( pNd = GetDoc()->GetNodes().GoNext( &aIdx )) &&
+ while( nullptr != ( pNd = SwNodes::GoNext( &aIdx )) &&
aIdx <= rEnd );
}
}