summaryrefslogtreecommitdiffstats
path: root/sw/source/core/crsr/crstrvl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/crsr/crstrvl.cxx')
-rw-r--r--sw/source/core/crsr/crstrvl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx
index ae45c38c46bb..33446ad5d628 100644
--- a/sw/source/core/crsr/crstrvl.cxx
+++ b/sw/source/core/crsr/crstrvl.cxx
@@ -89,7 +89,7 @@ void SwCursorShell::MoveCursorToNum()
// SRectangle's height
Point aPt( m_pCurrentCursor->GetPtPos() );
std::pair<Point, bool> const tmp(aPt, true);
- SwContentFrame * pFrame = m_pCurrentCursor->GetContentNode()->getLayoutFrame(
+ SwContentFrame * pFrame = m_pCurrentCursor->GetPointContentNode()->getLayoutFrame(
GetLayout(), m_pCurrentCursor->GetPoint(), &tmp);
pFrame->GetCharRect( m_aCharRect, *m_pCurrentCursor->GetPoint() );
pFrame->Calc(GetOut());
@@ -2037,7 +2037,7 @@ bool SwContentAtPos::IsInRTLText()const
SwStartNode* pSttNd = pTextFootnote->GetStartNode()->GetNode().GetStartNode();
SwPaM aTemp( *pSttNd );
aTemp.Move(fnMoveForward, GoInNode);
- SwContentNode* pContentNode = aTemp.GetContentNode();
+ SwContentNode* pContentNode = aTemp.GetPointContentNode();
if(pContentNode && pContentNode->IsTextNode())
pNd = pContentNode->GetTextNode();
}