]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_IconFactory.cpp
Salome HOME
updated copyright message
[modules/shaper.git] / src / PartSet / PartSet_IconFactory.cpp
index 67c385b96ac26998277597270b60c0388f5b0c19..45ccd129cdb57088651337b193b76d5f02c45af6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -137,6 +137,8 @@ QIcon PartSet_IconFactory::getIcon(ObjectPtr theObj)
               return QIcon(":icons/group_face.png");
             case GeomAPI_Shape::SOLID:
               return QIcon(":icons/group_solid.png");
+            default: // [to avoid compilation warning]
+              break;
             }
           }
           ResultBodyPtr aBody = std::dynamic_pointer_cast<ModelAPI_ResultBody>(aResult);
@@ -151,6 +153,8 @@ QIcon PartSet_IconFactory::getIcon(ObjectPtr theObj)
         case GeomAPI_Shape::WIRE:      return QIcon(":pictures/wire.png");
         case GeomAPI_Shape::EDGE:      return QIcon(":pictures/edge.png");
         case GeomAPI_Shape::VERTEX:    return QIcon(":pictures/vertex.png");
+        default: // [to avoid compilation warning]
+          break;
       }
     }
   }