diff options
Diffstat (limited to 'drawinglayer/source')
-rw-r--r-- | drawinglayer/source/processor2d/vclprocessor2d.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index 86c51b2c7d2e..5027cb178c20 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -451,7 +451,8 @@ namespace drawinglayer #if defined(MACOSX) const AlphaMask aMaskBmp( aContent.GetSizePixel()); #else - const Bitmap aMaskBmp( aContent.GetSizePixel(), 1); + Bitmap aMaskBmp( aContent.GetSizePixel(), 1); + aMaskBmp.Erase(Color(COL_BLACK)); // #122758# Initialize to non-transparent #endif aBitmapEx = BitmapEx(aContent, aMaskBmp); } |