summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/trvlfnfl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/crsr/trvlfnfl.cxx')
-rw-r--r--sw/source/core/crsr/trvlfnfl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/trvlfnfl.cxx b/sw/source/core/crsr/trvlfnfl.cxx
index 86ef09fbdd04..155e37187f81 100644
--- a/sw/source/core/crsr/trvlfnfl.cxx
+++ b/sw/source/core/crsr/trvlfnfl.cxx
@@ -361,7 +361,7 @@ void SwCursorShell::GotoFlyAnchor()
const SwPageFrame* pPageFrame = pFrame->FindPageFrame();
const SwContentFrame* pFndFrame = pPageFrame->GetContentPos( aPt, false, true );
- pFndFrame->GetCursorOfst( m_pCurrentCursor->GetPoint(), aPt );
+ pFndFrame->GetModelPositionForViewPoint( m_pCurrentCursor->GetPoint(), aPt );
bool bRet = !m_pCurrentCursor->IsInProtectTable() && !m_pCurrentCursor->IsSelOvr();
if( bRet )