svx/source/customshapes/EnhancedCustomShape2d.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 14a3ed6149c54e214569a292b2d0bbc5e09aeaff
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Mon Oct 21 17:53:24 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Oct 22 12:14:06 2024 +0200

    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 <xiscofa...@libreoffice.org>

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;

Reply via email to