[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - drawinglayer/source

Caolán McNamara caolanm at redhat.com
Tue Oct 4 13:52:17 UTC 2016


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

New commits:
commit 0537b554fd4ac56c1ac1c81e268ef1713c992cbd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Sep 29 14:16:20 2016 +0100

    Resolves: tdf#101433 reset RasterOpMode on cached virtual device before reuse
    
    (cherry picked from commit 17f912c5bb63426f0758dccbc3357a73f56f3137)
    
    Change-Id: I178aa499b080b0b684d41fdd4115a6398f944c43
    Reviewed-on: https://gerrit.libreoffice.org/29390
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>

diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index 62d11c4..39cff2d 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -196,6 +196,7 @@ namespace
         {
             // reused, reset some values
             pRetval->SetMapMode();
+            pRetval->SetRasterOp(ROP_OVERPAINT);
         }
 
         // remember allocated buffer


More information about the Libreoffice-commits mailing list