diff options
Diffstat (limited to 'vcl/source/outdev/bitmap.cxx')
-rw-r--r-- | vcl/source/outdev/bitmap.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx index 973a604705b3..3bbf39234252 100644 --- a/vcl/source/outdev/bitmap.cxx +++ b/vcl/source/outdev/bitmap.cxx @@ -519,13 +519,10 @@ void OutputDevice::DrawTransformedBitmapEx( { // parts will be uncovered, extend aTransformed with a mask bitmap const Bitmap aContent(aTransformed.GetBitmap()); -#if defined(MACOSX) || defined(IOS) + AlphaMask aMaskBmp(aContent.GetSizePixel()); aMaskBmp.Erase(0); -#else - Bitmap aMaskBmp(aContent.GetSizePixel(), 1); - aMaskBmp.Erase(Color(COL_BLACK)); // #122758# Initialize to non-transparent -#endif + aTransformed = BitmapEx(aContent, aMaskBmp); } |