summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-11-11 18:04:43 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-11-11 19:38:25 +0100
commit6b67f867cca1cb62ca045b60635f6da0a347c4f2 (patch)
tree726c4b4b59dded0cb2cc2b852636d10170b79505 /slideshow
parentb7f022234589c84ddb8566ddf7d91701eba55d3d (diff)
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: I1027242192dfd2be4918094d59f2a8f8c8fec041 Reviewed-on: https://gerrit.libreoffice.org/63266 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/animatedsprite.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/animatedsprite.cxx b/slideshow/source/engine/animatedsprite.cxx
index 2c1870119bcd..46379897168a 100644
--- a/slideshow/source/engine/animatedsprite.cxx
+++ b/slideshow/source/engine/animatedsprite.cxx
@@ -136,7 +136,7 @@ namespace slideshow
"AnimatedSprite::resize(): Could not create new sprite" );
// set attributes similar to previous sprite
- if( mpSprite && mbSpriteVisible )
+ if (mbSpriteVisible)
{
mpSprite->show();
mpSprite->setAlpha( mnAlpha );