summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docglos.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/docglos.cxx')
-rw-r--r--sw/source/core/doc/docglos.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docglos.cxx b/sw/source/core/doc/docglos.cxx
index 2993a774ad25..dae24d1cdfd6 100644
--- a/sw/source/core/doc/docglos.cxx
+++ b/sw/source/core/doc/docglos.cxx
@@ -165,7 +165,7 @@ bool SwDoc::InsertGlossary( SwTextBlocks& rBlock, const OUString& rEntry,
getIDocumentFieldsAccess().LockExpFields();
SwNodeIndex aStt( pGDoc->GetNodes().GetEndOfExtras(), 1 );
- SwContentNode* pContentNd = pGDoc->GetNodes().GoNext( &aStt );
+ SwContentNode* pContentNd = SwNodes::GoNext(&aStt);
const SwTableNode* pTableNd = pContentNd->FindTableNode();
SwPaM aCpyPam( pTableNd ? *const_cast<SwNode*>(static_cast<SwNode const *>(pTableNd)) : *static_cast<SwNode*>(pContentNd) );
aCpyPam.SetMark();