summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-19 19:31:01 +0200
committerDavid Gilbert <freedesktop@treblig.org>2024-10-31 02:03:04 +0100
commite2479ebd5c727a1e7d0eb40210f9fec9a1ad75ad (patch)
tree89ef11480bcd2c2f45a7526c8adceb994eeb6675
parente386bbef8f5dbe28604f66c2f7c455ccad248935 (diff)
tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 944, 957 Change-Id: Ic637d4aa5e6024cc0011e8e51a0fba68c2644378 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175225 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesktop@treblig.org>
-rw-r--r--sd/source/filter/eppt/pptx-epptbase.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/filter/eppt/pptx-epptbase.cxx b/sd/source/filter/eppt/pptx-epptbase.cxx
index eebf01410c15..c548ff09f1d9 100644
--- a/sd/source/filter/eppt/pptx-epptbase.cxx
+++ b/sd/source/filter/eppt/pptx-epptbase.cxx
@@ -941,6 +941,7 @@ sal_Int8 PPTWriterBase::GetTransition( FadeEffect eEffect, sal_uInt8& nDirection
nDirection++;
[[fallthrough]];
case FadeEffect_FADE_FROM_RIGHT :
+ case FadeEffect_ROLL_FROM_RIGHT :
nPPTTransitionType = PPT_TRANSITION_TYPE_WIPE;
break;
@@ -953,9 +954,6 @@ sal_Int8 PPTWriterBase::GetTransition( FadeEffect eEffect, sal_uInt8& nDirection
case FadeEffect_ROLL_FROM_BOTTOM :
nDirection++;
[[fallthrough]];
- case FadeEffect_ROLL_FROM_RIGHT :
- nPPTTransitionType = PPT_TRANSITION_TYPE_WIPE;
- break;
case FadeEffect_FADE_TO_CENTER :
nDirection++;