summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/wrtsh/wrtsh1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtsh1.cxx')
-rw-r--r--sw/source/uibase/wrtsh/wrtsh1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx
index e13d09a700c5..d2b02f64478c 100644
--- a/sw/source/uibase/wrtsh/wrtsh1.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -141,7 +141,7 @@ static bool lcl_IsAllowed(const SwWrtShell* rSh)
{
if (rSh->GetViewOptions()->IsShowOutlineContentVisibilityButton() && rSh->IsEndPara())
{
- SwTextNode* pTextNode = rSh->GetCursor()->GetNode().GetTextNode();
+ SwTextNode* pTextNode = rSh->GetCursor()->GetPointNode().GetTextNode();
if (pTextNode && pTextNode->IsOutline())
{
// disallow if this is an outline node having folded content
@@ -1175,7 +1175,7 @@ void SwWrtShell::InsertFootnote(const OUString &rStr, bool bEndNote, bool bEdit
// tdf#141634
static bool lcl_FoldedOutlineNodeEndOfParaSplit(SwWrtShell *pThis)
{
- SwTextNode* pTextNode = pThis->GetCursor()->GetNode().GetTextNode();
+ SwTextNode* pTextNode = pThis->GetCursor()->GetPointNode().GetTextNode();
if (pTextNode && pTextNode->IsOutline())
{
bool bVisible = true;