diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2002-09-13 15:03:40 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2002-09-13 15:03:40 +0000 |
commit | e5b250261840bc9cbfd1b6aaa708ec1fec969b90 (patch) | |
tree | e144d1980bc8a54e26b79856ba3cd02ac6af423d | |
parent | abc2d47da77116f2dbd43a53e0a3ac6b6d1ebcf8 (diff) |
#100860# ImplReMirror is const
-rw-r--r-- | vcl/source/gdi/outdev.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx index 5cf0cf9d11de..b640f98b579b 100644 --- a/vcl/source/gdi/outdev.cxx +++ b/vcl/source/gdi/outdev.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outdev.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: ssa $ $Date: 2002-09-08 15:21:16 $ + * last change: $Author: ssa $ $Date: 2002-09-13 16:03:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -530,11 +530,11 @@ BOOL OutputDevice::ImplHasMirroredGraphics() #endif } -void OutputDevice::ImplReMirror( Point &rPoint ) +void OutputDevice::ImplReMirror( Point &rPoint ) const { rPoint.X() = mnOutOffX + mnOutWidth - 1 - rPoint.X() + mnOutOffX; } -void OutputDevice::ImplReMirror( Rectangle &rRect ) +void OutputDevice::ImplReMirror( Rectangle &rRect ) const { long nWidth = rRect.nRight - rRect.nLeft; @@ -545,7 +545,7 @@ void OutputDevice::ImplReMirror( Rectangle &rRect ) rRect.nLeft = mnOutOffX + mnOutWidth - nWidth - 1 - rRect.nLeft + mnOutOffX; rRect.nRight = rRect.nLeft + nWidth; } -void OutputDevice::ImplReMirror( Region &rRegion ) +void OutputDevice::ImplReMirror( Region &rRegion ) const { long nX; long nY; |