vcl/source/gdi/outdev2.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 44c6c7a249a0dbcfeb4a53154c37abccbf7c1aed
Author: Caolán McNamara <[email protected]>
Date: Mon May 28 14:22:33 2012 +0100
valgrind: Related rhbz#820376 mnDestWidth used without initialization
Change-Id: Id52458441fc2ef3b466f5e4f716b0341dca11091
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 ) );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits