summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-18 22:32:14 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-20 10:31:03 +0200
commitf17e930b0fe857570d65b1882a367e63e13a48a8 (patch)
treec2a9bf7a392587f9d4b8d675ae7994952f0bf908 /slideshow
parentca48b37054d68429e323235ff8dda86e85d02aa5 (diff)
tdf#163486: PVS: The variable was assign the same value.
V1048 The 'bDirectionForward' variable was assigned the same value. Change-Id: I83343be3cfe93f0be97eae01869dd00cd0814c67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175203 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/transitions/shapetransitionfactory.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/slideshow/source/engine/transitions/shapetransitionfactory.cxx b/slideshow/source/engine/transitions/shapetransitionfactory.cxx
index 8880e100b893..aa9a7e9129cf 100644
--- a/slideshow/source/engine/transitions/shapetransitionfactory.cxx
+++ b/slideshow/source/engine/transitions/shapetransitionfactory.cxx
@@ -267,7 +267,6 @@ AnimationActivitySharedPtr createShapeTransitionByType(
{
case animations::TransitionSubType::FROMLEFT:
nBarWipeSubType = animations::TransitionSubType::LEFTTORIGHT;
- bDirectionForward = true;
break;
case animations::TransitionSubType::FROMRIGHT:
@@ -277,7 +276,6 @@ AnimationActivitySharedPtr createShapeTransitionByType(
case animations::TransitionSubType::FROMTOP:
nBarWipeSubType = animations::TransitionSubType::TOPTOBOTTOM;
- bDirectionForward = true;
break;
case animations::TransitionSubType::FROMBOTTOM: