valgrind: Related rhbz#820376 mnDestWidth used without initialization

Change-Id: Id52458441fc2ef3b466f5e4f716b0341dca11091
This commit is contained in:
Caolán McNamara 2012-05-28 14:22:33 +01:00
parent f0c1887fc6
commit 7c9ae6bd33

View File

@ -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 ) );