fdo#81148: Fix transparency gradients.

regression from a5351434fb.
Revert one line from that commit without too much understanding :-/

Change-Id: I126c25e2ad945ef1ec20a5677406434931d0790d
This commit is contained in:
Matúš Kukan 2014-07-11 17:04:30 +02:00
parent bfdacadec9
commit 4cb5213622

View file

@ -370,7 +370,7 @@ namespace drawinglayer
OSL_ENSURE(mpContent, "impBufferDevice: No content, check isVisible() before accessing (!)");
if(!mpAlpha)
{
mpAlpha = getVDevBuffer().alloc(mrOutDev, maDestPixel.GetSize(), true, 8);
mpAlpha = getVDevBuffer().alloc(mrOutDev, maDestPixel.GetSize(), true, 0);
mpAlpha->SetMapMode(mpContent->GetMapMode());
// copy AA flag for new target; masking needs to be smooth