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/source/core/view/vprint.cxx | |
parent | 21844db97300e594c212e4a78336cba282a0ad0b (diff) |
Offst might as well be expanded to Offset
Change-Id: I6ba3131155fbbe5a01e47aca4008d39191254fe0
Diffstat (limited to 'sw/source/core/view/vprint.cxx')
-rw-r--r-- | sw/source/core/view/vprint.cxx | 6 |
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; |