diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-24 14:24:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-24 14:24:09 +0000 |
commit | a85840ecea45d254c932f011f3f43f307b089f8a (patch) | |
tree | 57aeff22996b624cf9ee659d6c08e943c7a9eee4 /sw | |
parent | 21844db97300e594c212e4a78336cba282a0ad0b (diff) |
Offst might as well be expanded to Offset
Change-Id: I6ba3131155fbbe5a01e47aca4008d39191254fe0
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/viewsh.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/view/vprint.cxx | 6 |
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; |