summaryrefslogtreecommitdiff
path: root/sw/source/core/view/vprint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/vprint.cxx')
-rw-r--r--sw/source/core/view/vprint.cxx6
1 files changed, 3 insertions, 3 deletions
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;