diff options
Diffstat (limited to 'vcl/source/outdev/outdev.cxx')
-rw-r--r-- | vcl/source/outdev/outdev.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx index 0565b7f1cd42..10951910fb48 100644 --- a/vcl/source/outdev/outdev.cxx +++ b/vcl/source/outdev/outdev.cxx @@ -690,7 +690,7 @@ bool OutputDevice::ImplIsAntiparallel() const void OutputDevice::ReMirror( Point &rPoint ) const { - rPoint.X() = mnOutOffX + mnOutWidth - 1 - rPoint.X() + mnOutOffX; + rPoint.setX( mnOutOffX + mnOutWidth - 1 - rPoint.X() + mnOutOffX ); } void OutputDevice::ReMirror( tools::Rectangle &rRect ) const { @@ -700,8 +700,8 @@ void OutputDevice::ReMirror( tools::Rectangle &rRect ) const //lc_x = mnOutWidth - nWidth - 1 - lc_x; // mirror //rRect.nLeft = lc_x + mnOutOffX; // re-normalize - rRect.Left() = mnOutOffX + mnOutWidth - nWidth - 1 - rRect.Left() + mnOutOffX; - rRect.Right() = rRect.Left() + nWidth; + rRect.SetLeft( mnOutOffX + mnOutWidth - nWidth - 1 - rRect.Left() + mnOutOffX ); + rRect.SetRight( rRect.Left() + nWidth ); } void OutputDevice::ReMirror( vcl::Region &rRegion ) const |