From 21f128623292b3d90f3b736f3c5c268a677e18ff Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Fri, 31 Jul 2015 16:23:35 +0900 Subject: ImplImageBmp::Draw - nPos parameter is always 0 Change-Id: Icbf228809e17e4114049e563468dececba04edde --- vcl/source/outdev/bitmap.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/outdev') diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx index bb72a3797d47..aebc7df28ea7 100644 --- a/vcl/source/outdev/bitmap.cxx +++ b/vcl/source/outdev/bitmap.cxx @@ -1381,9 +1381,9 @@ void OutputDevice::DrawImage( const Point& rPos, const Size& rSize, } if ( bIsSizeValid ) - pData->mpImageBitmap->Draw( 0, this, rPos, nStyle, &rSize ); + pData->mpImageBitmap->Draw( this, rPos, nStyle, &rSize ); else - pData->mpImageBitmap->Draw( 0, this, rPos, nStyle ); + pData->mpImageBitmap->Draw( this, rPos, nStyle ); } break; -- cgit v1.2.3