From a85840ecea45d254c932f011f3f43f307b089f8a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 24 Mar 2017 14:24:09 +0000 Subject: Offst might as well be expanded to Offset Change-Id: I6ba3131155fbbe5a01e47aca4008d39191254fe0 --- sw/source/core/view/vprint.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/core/view/vprint.cxx') diff --git a/sw/source/core/view/vprint.cxx b/sw/source/core/view/vprint.cxx index 110ae57b2bf3..b9f516251d1f 100644 --- a/sw/source/core/view/vprint.cxx +++ b/sw/source/core/view/vprint.cxx @@ -200,9 +200,9 @@ void SwViewShell::InitPrt( OutputDevice *pOutDev ) // physical page while the output uses OutputOffset as origin. if ( pOutDev ) { - maPrtOffst = Point(); + maPrtOffset = Point(); - maPrtOffst += pOutDev->GetMapMode().GetOrigin(); + maPrtOffset += pOutDev->GetMapMode().GetOrigin(); MapMode aMapMode( pOutDev->GetMapMode() ); aMapMode.SetMapUnit( MapUnit::MapTwip ); pOutDev->SetMapMode( aMapMode ); @@ -210,7 +210,7 @@ void SwViewShell::InitPrt( OutputDevice *pOutDev ) pOutDev->SetFillColor(); } else - maPrtOffst.X() = maPrtOffst.Y() = 0; + maPrtOffset.X() = maPrtOffset.Y() = 0; if ( !mpWin ) mpOut = pOutDev; -- cgit v1.2.3