diff options
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r-- | sw/source/uibase/uno/unotxvw.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index 7c9acfe5a65f..764479851d18 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -1076,20 +1076,20 @@ void SwXTextViewCursor::gotoRange( else if(nFrameType & FrameTypeFlags::FOOTNOTE) eSearchNodeType = SwFootnoteStartNode; - const SwStartNode* pOwnStartNode = aOwnPaM.GetNode(). + const SwStartNode* pOwnStartNode = aOwnPaM.GetPointNode(). FindSttNodeByType(eSearchNodeType); const SwNode* pSrcNode = nullptr; if(pCursor && pCursor->GetPaM()) { - pSrcNode = &pCursor->GetPaM()->GetNode(); + pSrcNode = &pCursor->GetPaM()->GetPointNode(); } else if (pRange) { SwPaM aPam(pRange->GetDoc().GetNodes()); if (pRange->GetPositions(aPam)) { - pSrcNode = &aPam.GetNode(); + pSrcNode = &aPam.GetPointNode(); } } else if (pPara && pPara->GetTextNode()) @@ -1458,7 +1458,7 @@ void SwXTextViewCursor::setPropertyValue( const OUString& rPropertyName, const SwWrtShell& rSh = m_pView->GetWrtShell(); SwPaM* pShellCursor = rSh.GetCursor(); - SwNode& rNode = pShellCursor->GetNode(); + SwNode& rNode = pShellCursor->GetPointNode(); if (!rNode.IsTextNode()) throw RuntimeException(); |