summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/PageBreakWin.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2017-10-26 10:54:03 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2017-10-30 12:13:16 +0100
commit75d4e779e408bd532ddeda2b18923806c920b4a7 (patch)
tree7c24e614b8c54d38f650b7ceb96f07beeeb446f8 /sw/source/uibase/docvw/PageBreakWin.cxx
parentf6edddfa230d6478571ef67ebdc506c54f589648 (diff)
Adapted to get/setSwFrame and get/setSwPrint
Change-Id: I6cce40ec49dd5bd32d94fe06b9d2dabd368448be
Diffstat (limited to 'sw/source/uibase/docvw/PageBreakWin.cxx')
-rw-r--r--sw/source/uibase/docvw/PageBreakWin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/docvw/PageBreakWin.cxx b/sw/source/uibase/docvw/PageBreakWin.cxx
index 41977bbc2e0f..93e6932f9a4c 100644
--- a/sw/source/uibase/docvw/PageBreakWin.cxx
+++ b/sw/source/uibase/docvw/PageBreakWin.cxx
@@ -336,16 +336,16 @@ void SwPageBreakWin::UpdatePosition( const Point* pEvtPt )
{
pPrevPage = pPrevPage->GetPrev();
}
- while ( pPrevPage && ( ( pPrevPage->FrameRA().Top( ) == pPageFrame->FrameRA().Top( ) )
+ while ( pPrevPage && ( ( pPrevPage->getSwFrame().Top( ) == pPageFrame->getSwFrame().Top( ) )
|| static_cast< const SwPageFrame* >( pPrevPage )->IsEmptyPage( ) ) );
::tools::Rectangle aBoundRect = GetEditWin()->LogicToPixel( pPageFrame->GetBoundRect(GetEditWin()).SVRect() );
- ::tools::Rectangle aFrameRect = GetEditWin()->LogicToPixel( pPageFrame->FrameRA().SVRect() );
+ ::tools::Rectangle aFrameRect = GetEditWin()->LogicToPixel( pPageFrame->getSwFrame().SVRect() );
long nYLineOffset = ( aBoundRect.Top() + aFrameRect.Top() ) / 2;
if ( pPrevPage )
{
- ::tools::Rectangle aPrevFrameRect = GetEditWin()->LogicToPixel( pPrevPage->FrameRA().SVRect() );
+ ::tools::Rectangle aPrevFrameRect = GetEditWin()->LogicToPixel( pPrevPage->getSwFrame().SVRect() );
nYLineOffset = ( aPrevFrameRect.Bottom() + aFrameRect.Top() ) / 2;
}