diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/outdev/bitmap.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx index 9a2e56d106a7..4b0583be3f0c 100644 --- a/vcl/source/outdev/bitmap.cxx +++ b/vcl/source/outdev/bitmap.cxx @@ -524,10 +524,10 @@ void OutputDevice::DrawDeviceBitmap( const Point& rDestPt, const Size& rDestSize if (bTryDirectPaint) { - // only paint direct when no scaling and no MapMode, else the + // only paint direct when no MapMode, else the // more expensive conversions may be done for short-time Bitmap/BitmapEx // used for buffering only - if (IsMapMode() || aPosAry.mnSrcWidth != aPosAry.mnDestWidth || aPosAry.mnSrcHeight != aPosAry.mnDestHeight) + if (IsMapMode()) { bTryDirectPaint = false; } @@ -663,10 +663,10 @@ void OutputDevice::DrawDeviceAlphaBitmap( const Bitmap& rBmp, const AlphaMask& r if (bTryDirectPaint) { - // only paint direct when no scaling and no MapMode, else the + // only paint direct when no MapMode, else the // more expensive conversions may be done for short-time Bitmap/BitmapEx // used for buffering only - if (IsMapMode() || rSrcSizePixel.Width() != aOutSz.Width() || rSrcSizePixel.Height() != aOutSz.Height()) + if (IsMapMode()) { bTryDirectPaint = false; } |