summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/viewsh.hxx2
-rw-r--r--sw/source/core/view/vprint.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index fd3d28132e7c..965d98697f20 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -113,7 +113,7 @@ class SW_DLLPUBLIC SwViewShell : public sw::Ring<SwViewShell>
// i.e. if the EndActions of the other
// Shells on the document are through.
- Point maPrtOffst; // Ofst for Printer,
+ Point maPrtOffset; // Offset for Printer,
// non-printable margin.
Size maBrowseBorder; // Border for frame documents.
SwRect maInvalidRect;
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;