| author | Caolán McNamara <caolanm@redhat.com> | 2012-05-28 13:22:33 (GMT) |
|---|---|---|
| committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-28 13:24:39 (GMT) |
| commit | 7c9ae6bd33a8da3d5dd1e8086ae9e4a53e7d102c (patch) (side-by-side diff) | |
| tree | 0ae92082ae7fb252aa49d4f201c6798e9ca3e047 | |
| parent | f0c1887fc60b0537172dc07a14f1d59da902b44b (diff) | |
| download | core-7c9ae6bd33a8da3d5dd1e8086ae9e4a53e7d102c.zip core-7c9ae6bd33a8da3d5dd1e8086ae9e4a53e7d102c.tar.gz | |
valgrind: Related rhbz#820376 mnDestWidth used without initialization
Change-Id: Id52458441fc2ef3b466f5e4f716b0341dca11091
| -rw-r--r-- | vcl/source/gdi/outdev2.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx index 45cc6a2..a90c05d 100644 --- a/vcl/source/gdi/outdev2.cxx +++ b/vcl/source/gdi/outdev2.cxx @@ -406,6 +406,8 @@ void OutputDevice::CopyArea( const Point& rDestPt, aPosAry.mnSrcY = ImplLogicYToDevicePixel( rSrcPt.Y() ); aPosAry.mnDestX = ImplLogicXToDevicePixel( rDestPt.X() ); aPosAry.mnDestY = ImplLogicYToDevicePixel( rDestPt.Y() ); + aPosAry.mnDestWidth = aPosAry.mnSrcWidth; + aPosAry.mnDestHeight = aPosAry.mnSrcHeight; const Rectangle aSrcOutRect( Point( mnOutOffX, mnOutOffY ), Size( mnOutWidth, mnOutHeight ) ); |
