slideshow/source/engine/transitions/shapetransitionfactory.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit f17e930b0fe857570d65b1882a367e63e13a48a8
Author:     Bogdan Buzea <[email protected]>
AuthorDate: Fri Oct 18 22:32:14 2024 +0200
Commit:     Xisco Fauli <[email protected]>
CommitDate: Sun Oct 20 10:31:03 2024 +0200

    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 <[email protected]>

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:

Reply via email to