[Libreoffice-commits] .: Branch 'libreoffice-3-5' - slideshow/source

Tor Lillqvist tml at kemper.freedesktop.org
Sun Mar 18 23:39:45 PDT 2012


 slideshow/source/engine/slideview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6f7a003ef738e3b11ff8d577c2b350b50d416235
Author: Thorsten Behrens <tbehrens at suse.com>
Date:   Fri Mar 16 10:02:18 2012 +0100

    Clear sprites to white fdo#45219.
    
    Another fix for a rendering glitch mentioned in fdo#45219 -
    vclcanvas sadly does not properly implement compositing, so all-
    black background yields dark shadows on semi-transparent objects.
    
    Ultimately though, we should retire vclcanvas instead.
    
    (cherry picked from commit b9266113514657be1cf9352e1457a5c62876784c)
    
    Signed-off-by: Tor Lillqvist <tlillqvist at suse.com>

diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx
index 001f533..0d55528 100644
--- a/slideshow/source/engine/slideview.cxx
+++ b/slideshow/source/engine/slideview.cxx
@@ -206,7 +206,7 @@ void clearRect( ::cppcanvas::CanvasSharedPtr const& pCanvas,
     if( pPolyPoly )
     {
         pPolyPoly->setCompositeOp( cppcanvas::CanvasGraphic::SOURCE );
-        pPolyPoly->setRGBAFillColor( 0x00000000U );
+        pPolyPoly->setRGBAFillColor( 0xFFFFFF00U );
         pPolyPoly->draw();
     }
 


More information about the Libreoffice-commits mailing list