diff options
author | Thorsten Behrens <thb@openoffice.org> | 2002-10-29 10:02:28 +0000 |
---|---|---|
committer | Thorsten Behrens <thb@openoffice.org> | 2002-10-29 10:02:28 +0000 |
commit | 26193bffb074d0827072347038d4d1d177d91201 (patch) | |
tree | 62a18ffe47ac04bd5a511827142524d9fb247633 /vcl/source/gdi/outdev2.cxx | |
parent | 6fadc868e871e7d8d38cf83b7093b2542191640c (diff) |
#102532# Offset rect only by pseudo window offset
Diffstat (limited to 'vcl/source/gdi/outdev2.cxx')
-rw-r--r-- | vcl/source/gdi/outdev2.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx index 37b610e40014..37c437528276 100644 --- a/vcl/source/gdi/outdev2.cxx +++ b/vcl/source/gdi/outdev2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outdev2.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: ssa $ $Date: 2002-09-11 16:49:27 $ + * last change: $Author: thb $ $Date: 2002-10-29 11:02:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -293,7 +293,9 @@ void OutputDevice::ImplDrawOutDevDirect( const OutputDevice* pSrcDev, void* pVoi } } - Rectangle aSrcOutRect( Point( pSrcDev->mnOutOffX, pSrcDev->mnOutOffY ), + // #102532# Offset only has to be pseudo window offset + Rectangle aSrcOutRect( Point( pSrcDev->mnOutOffX - pSrcDev->mnOutOffOrigX, + pSrcDev->mnOutOffY - pSrcDev->mnOutOffOrigY ), Size( pSrcDev->mnOutWidth, pSrcDev->mnOutHeight ) ); Rectangle aSrcRect( Point( pPosAry->mnSrcX, pPosAry->mnSrcY ), Size( pPosAry->mnSrcWidth, pPosAry->mnSrcHeight ) ); |