summaryrefslogtreecommitdiff
path: root/sw/source/core/view/vdraw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/vdraw.cxx')
-rw-r--r--sw/source/core/view/vdraw.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx
index 2fca28b7a5fb..e1dfaa412065 100644
--- a/sw/source/core/view/vdraw.cxx
+++ b/sw/source/core/view/vdraw.cxx
@@ -142,7 +142,7 @@ void SwViewShellImp::PaintLayer( const SdrLayerID _nLayerID,
rSdrView.setHideDraw( !pPrintData->IsPrintDraw() );
}
basegfx::B2IRectangle const pageFrame(
- vcl::unotools::b2IRectangleFromRectangle(rPageFrame.Frame().SVRect()));
+ vcl::unotools::b2IRectangleFromRectangle(rPageFrame.getSwFrame().SVRect()));
GetPageView()->DrawLayer(_nLayerID, pOutDev, pRedirector, aPaintRect.SVRect(), &pageFrame);
pOutDev->Pop();
@@ -180,7 +180,7 @@ bool SwViewShellImp::IsDragPossible( const Point &rPoint )
aRect.Union( aTmp );
}
else
- aRect = GetShell()->GetLayout()->Frame();
+ aRect = GetShell()->GetLayout()->getSwFrame();
aRect.Top( aRect.Top() - FUZZY_EDGE );
aRect.Bottom( aRect.Bottom() + FUZZY_EDGE );