0025912: Exception during reading STEP file with GD&T
[occt.git] / src / RWStepAP214 / RWStepAP214_GeneralModule.cxx
index 761b949..5f89ee2 100644 (file)
@@ -2,8 +2,8 @@
 //
 // This file is part of Open CASCADE Technology software library.
 //
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
 // by the Free Software Foundation, with special exception defined in the file
 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
 // distribution for complete text of the license and disclaimer of any warranty.
@@ -3724,11 +3724,14 @@ void RWStepAP214_GeneralModule::FillSharedCase(const Standard_Integer CN,
        RWStepRepr_RWCompositeShapeAspect tool;
        tool.Share(anent,iter);
       }
-    case 471: {
+      break;
+    case 471: 
+      {
       DeclareAndCast(StepRepr_DerivedShapeAspect,anent,ent);
       RWStepRepr_RWDerivedShapeAspect tool;
       tool.Share(anent,iter);
-    }
+      }
+      break;
     case 472:  // same as ShapeAspect
       {
        DeclareAndCast(StepRepr_Extension,anent,ent);