valgrind: Related rhbz#820376 mnDestWidth used without initialization
Change-Id: Id52458441fc2ef3b466f5e4f716b0341dca11091
This commit is contained in:
@@ -406,6 +406,8 @@ void OutputDevice::CopyArea( const Point& rDestPt,
|
|||||||
aPosAry.mnSrcY = ImplLogicYToDevicePixel( rSrcPt.Y() );
|
aPosAry.mnSrcY = ImplLogicYToDevicePixel( rSrcPt.Y() );
|
||||||
aPosAry.mnDestX = ImplLogicXToDevicePixel( rDestPt.X() );
|
aPosAry.mnDestX = ImplLogicXToDevicePixel( rDestPt.X() );
|
||||||
aPosAry.mnDestY = ImplLogicYToDevicePixel( rDestPt.Y() );
|
aPosAry.mnDestY = ImplLogicYToDevicePixel( rDestPt.Y() );
|
||||||
|
aPosAry.mnDestWidth = aPosAry.mnSrcWidth;
|
||||||
|
aPosAry.mnDestHeight = aPosAry.mnSrcHeight;
|
||||||
|
|
||||||
const Rectangle aSrcOutRect( Point( mnOutOffX, mnOutOffY ),
|
const Rectangle aSrcOutRect( Point( mnOutOffX, mnOutOffY ),
|
||||||
Size( mnOutWidth, mnOutHeight ) );
|
Size( mnOutWidth, mnOutHeight ) );
|
||||||
|
Reference in New Issue
Block a user