diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/imgprod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx index b38632ea4148..dbcaad592235 100644 --- a/forms/source/component/imgprod.cxx +++ b/forms/source/component/imgprod.cxx @@ -376,7 +376,7 @@ void ImageProducer::ImplUpdateConsumer( const Graphic& rGraphic ) if( !pMskAcc ) { - aMask = Bitmap( aBmp.GetSizePixel(), 1 ); + aMask = Bitmap(aBmp.GetSizePixel(), vcl::PixelFormat::N1_BPP); aMask.Erase( COL_BLACK ); pMskAcc = aMask.AcquireReadAccess(); } |