diff options
Diffstat (limited to 'sw/source/uibase/shells/basesh.cxx')
-rw-r--r-- | sw/source/uibase/shells/basesh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index c1f1b1ca22d8..4a365d33af11 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -208,7 +208,7 @@ void SwBaseShell::ExecDelete(SfxRequest &rReq) // is an outline node with folded content. if (rSh.IsEndPara()) { - SwNodeIndex aIdx(rSh.GetCursor()->GetNode()); + SwNodeIndex aIdx(rSh.GetCursor()->GetPointNode()); if (aIdx.GetNode().IsTextNode()) { bool bVisible = true; @@ -237,7 +237,7 @@ void SwBaseShell::ExecDelete(SfxRequest &rReq) // node is a content node without a layout frame. if (rSh.IsSttPara()) { - SwNodeIndex aIdx(rSh.GetCursor()->GetNode()); + SwNodeIndex aIdx(rSh.GetCursor()->GetPointNode()); if (aIdx.GetNode().IsTextNode()) { bool bVisible = true; |