diff options
author | Armin Le Grand <alg@apache.org> | 2013-07-16 12:51:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-16 20:37:10 +0100 |
commit | 7f5faa7f64338b11eda4b033ed9d4cba9833573b (patch) | |
tree | 8d4554d40271c3fe13beb27958930ba17f6c046b /drawinglayer | |
parent | 98d26079c57c873827beb2d00883547aa558e9a3 (diff) |
Resolves: #i122758# Initialize Mask with non-transparent
(cherry picked from commit db4affff17f202e69447fd22c246843a6cda3e52)
Change-Id: I4851c544b23d2857a0f13cff3ede987ebb813cef
Diffstat (limited to 'drawinglayer')
-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); } |