[Libreoffice-commits] core.git: drawinglayer/source

Matúš Kukan matus.kukan at collabora.com
Fri Jul 11 08:11:55 PDT 2014


 drawinglayer/source/processor2d/vclhelperbufferdevice.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4cb52136220b417f09eb2156e11436ee0a06729f
Author: Matúš Kukan <matus.kukan at collabora.com>
Date:   Fri Jul 11 17:04:30 2014 +0200

    fdo#81148: Fix transparency gradients.
    
    regression from a5351434fbea1126961f5dbaa986e7c9e686c24e.
    Revert one line from that commit without too much understanding :-/
    
    Change-Id: I126c25e2ad945ef1ec20a5677406434931d0790d

diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index a999099..a3bdbf6 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -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


More information about the Libreoffice-commits mailing list