[Libreoffice-commits] core.git: Branch 'feature/opengl-canvas-rework' - slideshow/source

Michael Jaumann meta_dev at yahoo.com
Thu Mar 5 04:24:04 PST 2015


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

New commits:
commit 26d17e0f42b13af514081fc3de4145744e1bf9ce
Author: Michael Jaumann <meta_dev at yahoo.com>
Date:   Thu Mar 5 12:13:19 2015 +0000

    unintended condition
    
    (a&&b)||c instead of a&&b||c
    
    Change-Id: Ic26ee391a8383602e6006e93e6773424bb2516ee

diff --git a/slideshow/source/engine/shapes/viewshape.cxx b/slideshow/source/engine/shapes/viewshape.cxx
index 0c57efd..35834ee 100644
--- a/slideshow/source/engine/shapes/viewshape.cxx
+++ b/slideshow/source/engine/shapes/viewshape.cxx
@@ -856,7 +856,7 @@ namespace slideshow
             // Hack, force use of Sprites in case of ogl canvas
             const uno::Reference< rendering::XCanvas > xCanvas( mpViewLayer->getCanvas()->getUNOCanvas() );
             const uno::Reference< lang::XServiceInfo >  xServiceInfo(xCanvas ,uno::UNO_QUERY);
-            if(xServiceInfo.is()&&  xServiceInfo->getImplementationName() == "com.sun.star.comp.rendering.SpriteCanvas.OGL"
+            if((xServiceInfo.is()&&  xServiceInfo->getImplementationName() == "com.sun.star.comp.rendering.SpriteCanvas.OGL")
                || isBackgroundDetached() )
             {
                 return renderSprite( mpViewLayer,


More information about the Libreoffice-commits mailing list