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.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/crsr/trvlfnfl.cxx b/sw/source/core/crsr/trvlfnfl.cxx
index 05685aae6a33..d5fe9925d0cc 100644
--- a/sw/source/core/crsr/trvlfnfl.cxx
+++ b/sw/source/core/crsr/trvlfnfl.cxx
@@ -317,13 +317,13 @@ bool SwCursorShell::GotoFlyAnchor()
// jump in BodyFrame closest to FlyFrame
SwRect aTmpRect( m_aCharRect );
- if( !pFrame->Frame().IsInside( aTmpRect ))
- aTmpRect = pFrame->Frame();
+ if( !pFrame->FrameRA().IsInside( aTmpRect ))
+ aTmpRect = pFrame->FrameRA();
Point aPt( aTmpRect.Left(), aTmpRect.Top() +
( aTmpRect.Bottom() - aTmpRect.Top() ) / 2 );
- aPt.setX(aPt.getX() > (pFrame->Frame().Left() + (pFrame->Frame().SSize().Width() / 2 ))
- ? pFrame->Frame().Right()
- : pFrame->Frame().Left());
+ aPt.setX(aPt.getX() > (pFrame->FrameRA().Left() + (pFrame->FrameRA().SSize().Width() / 2 ))
+ ? pFrame->FrameRA().Right()
+ : pFrame->FrameRA().Left());
const SwPageFrame* pPageFrame = pFrame->FindPageFrame();
const SwContentFrame* pFndFrame = pPageFrame->GetContentPos( aPt, false, true );