chart2/source/view/main/ShapeFactory.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit aa416c7d880f2b69a824037d44cd0da2bd675c1b
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Fri Oct 18 06:52:35 2024 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Tue Nov 12 01:24:30 2024 +0100

    tdf#163486: PVS: Identical branches
    
    Change-Id: Icb29cacf3888421843c958a4f157d1079343cc9e
    V1037: Two or more case-branches perform the same actions. Check lines: 
1173, 1176
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175053
    Tested-by: Jenkins
    Reviewed-by: David Gilbert <freedesk...@treblig.org>

diff --git a/chart2/source/view/main/ShapeFactory.cxx 
b/chart2/source/view/main/ShapeFactory.cxx
index 635dd85cbea8..81d41e83bbc7 100644
--- a/chart2/source/view/main/ShapeFactory.cxx
+++ b/chart2/source/view/main/ShapeFactory.cxx
@@ -1170,8 +1170,6 @@ static drawing::PointSequenceSequence 
createPolyPolygon_Symbol( const drawing::P
             nPointCount = 5;
             break;
         case Symbol_X:
-            nPointCount = 13;
-            break;
         case Symbol_Plus:
             nPointCount = 13;
             break;

Reply via email to