summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/sceneprimitive2d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 12:00:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 12:40:03 +0100
commit3d400321910ff0fe89ab8c70c59432e676cb1340 (patch)
treeb75317083d3a3cc452ad38b095d74f92b51a7923 /drawinglayer/source/primitive2d/sceneprimitive2d.cxx
parenteb1049597bd92d61a2ad319bc9a2c3f9a08dd259 (diff)
tdf#116001 Incorrect Colors in Chart Wall Area
regression from commit b10c7022f1be6e4825269bd5872575b5b53744ef "use RawBitmap in BPixelRasterToBitmapEx" we need to implement alpha support in vcl::bitmap::CreateFromData Change-Id: I68bebbe1dd15e3bb04de312309c1631d6bb7fe2d Reviewed-on: https://gerrit.libreoffice.org/50556 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/primitive2d/sceneprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/sceneprimitive2d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/sceneprimitive2d.cxx b/drawinglayer/source/primitive2d/sceneprimitive2d.cxx
index 5d3e972a6592..98fb19bfe172 100644
--- a/drawinglayer/source/primitive2d/sceneprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/sceneprimitive2d.cxx
@@ -49,7 +49,7 @@ namespace
if(nWidth && nHeight)
{
const Size aDestSize(nWidth, nHeight);
- vcl::bitmap::RawBitmap aContent(aDestSize);
+ vcl::bitmap::RawBitmap aContent(aDestSize, 32);
if(mnAntiAlialize)
{