summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2018-05-03 12:03:12 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-06-01 10:06:29 +0200
commit27d5588319b536d1897f322a8c029556fe60767a (patch)
tree14a7d7b3bf235140b34cd90006b75134eee40c75 /vcl/inc
parentaf6435b678561f620c367694df56268aa9d63627 (diff)
Use QImage format with premultiplied alpha
as that's what cairo (almost) silently expects Change-Id: If1ad6f28fcc6fb7ddc2ac4fcec0a31bad512cb2a
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/qt5/Qt5Tools.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/qt5/Qt5Tools.hxx b/vcl/inc/qt5/Qt5Tools.hxx
index c7b47014beb0..d632a5ed8ce5 100644
--- a/vcl/inc/qt5/Qt5Tools.hxx
+++ b/vcl/inc/qt5/Qt5Tools.hxx
@@ -91,6 +91,7 @@ inline sal_uInt16 getFormatBits(QImage::Format eFormat)
case QImage::Format_RGB888:
return 24;
case Qt5_DefaultFormat32:
+ case QImage::Format_ARGB32_Premultiplied:
return 32;
default:
std::abort();