summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/undobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/undobj.cxx')
-rw-r--r--sw/source/core/undo/undobj.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx
index ce27962aa3ec..9e057d73e256 100644
--- a/sw/source/core/undo/undobj.cxx
+++ b/sw/source/core/undo/undobj.cxx
@@ -1617,9 +1617,8 @@ static bool IsAtEndOfSection(SwPosition const& rAnchorPos)
static bool IsAtStartOfSection(SwPosition const& rAnchorPos)
{
- SwNodes const& rNodes(rAnchorPos.GetNodes());
SwNodeIndex node(*rAnchorPos.GetNode().StartOfSectionNode());
- SwContentNode *const pNode(rNodes.GoNext(&node));
+ SwContentNode* const pNode(SwNodes::GoNext(&node));
assert(pNode);
(void) pNode;
assert(node <= rAnchorPos.GetNode());