summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Jaumann <meta_dev@yahoo.com>2015-03-05 12:13:19 +0000
committerMichael Jaumann <meta_dev@yahoo.com>2015-03-05 12:22:51 +0000
commit26d17e0f42b13af514081fc3de4145744e1bf9ce (patch)
treec638864c0fe5b56cd106761999525440f1e76bd3
parentea3d468aa4407137b6d2e1dfd3e9a6bd43799956 (diff)
unintended condition
(a&&b)||c instead of a&&b||c Change-Id: Ic26ee391a8383602e6006e93e6773424bb2516ee
-rw-r--r--slideshow/source/engine/shapes/viewshape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/shapes/viewshape.cxx b/slideshow/source/engine/shapes/viewshape.cxx
index 0c57efda2719..35834ee0e197 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,