summaryrefslogtreecommitdiff
path: root/emfio
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 /emfio
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 'emfio')
-rw-r--r--emfio/source/reader/wmfreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx
index 7b5d8c6eb7ac..e82d756f28b2 100644
--- a/emfio/source/reader/wmfreader.cxx
+++ b/emfio/source/reader/wmfreader.cxx
@@ -715,7 +715,7 @@ namespace emfio
}
if (bOk)
{
- vcl::bitmap::RawBitmap aBmp( Size( nWidth, nHeight ) );
+ vcl::bitmap::RawBitmap aBmp( Size( nWidth, nHeight ), 24 );
for (sal_uInt16 y = 0; y < nHeight && mpInputStream->good(); ++y)
{
sal_uInt16 x = 0;