summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorBogdan Buzea <buzea.bogdan@libreoffice.org>2024-10-21 17:53:24 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-22 12:14:06 +0200
commit14a3ed6149c54e214569a292b2d0bbc5e09aeaff (patch)
tree9e3d83b4a79d5d4aa0f5714b708b28d88307a6a7 /svx
parent9bcd990d5a287dbde14ccc77f214c8e469888140 (diff)
tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 1048, 1053 Change-Id: I24f2b4698ff8c0d57aa81b57b42a847caa6c1aeb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175360 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index 644eee59dad7..49fd4d45110b 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -1044,10 +1044,6 @@ void EnhancedCustomShape2d::GetParameter( double& rRetValue, const EnhancedCusto
}
break;
case EnhancedCustomShapeParameterType::LEFT :
- {
- rRetValue = 0.0;
- }
- break;
case EnhancedCustomShapeParameterType::TOP :
{
rRetValue = 0.0;