]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomValidators/GeomValidators_ShapeType.cpp
Salome HOME
Issue #1860: fix end lines with spaces
[modules/shaper.git] / src / GeomValidators / GeomValidators_ShapeType.cpp
index 4a417818a236dec7c0f450a964a1536095218dbe..6c0077c6a9d0f074eecd053e9de5c86dfea794e9 100755 (executable)
@@ -22,7 +22,7 @@
 typedef std::map<std::string, GeomValidators_ShapeType::TypeOfShape> EdgeTypes;
 
 static EdgeTypes MyShapeTypes;
-GeomValidators_ShapeType::TypeOfShape 
+GeomValidators_ShapeType::TypeOfShape
   GeomValidators_ShapeType::shapeType(const std::string& theType)
 {
   if (MyShapeTypes.size() == 0) {
@@ -52,7 +52,7 @@ std::string getShapeTypeDescription(const GeomValidators_ShapeType::TypeOfShape&
   std::string aValue = "";
 
   if (MyShapeTypes.size() != 0) {
-    std::map<std::string, GeomValidators_ShapeType::TypeOfShape>::const_iterator 
+    std::map<std::string, GeomValidators_ShapeType::TypeOfShape>::const_iterator
       anIt = MyShapeTypes.begin(), aLast = MyShapeTypes.end();
     for (; anIt != aLast; anIt++) {
       if (anIt->second == theType)
@@ -107,7 +107,7 @@ bool GeomValidators_ShapeType::isValidAttribute(const AttributePtr& theAttribute
 
   std::string anAttributeType = theAttribute->attributeType();
   if (anAttributeType == ModelAPI_AttributeSelection::typeId()) {
-    AttributeSelectionPtr anAttr = 
+    AttributeSelectionPtr anAttr =
       std::dynamic_pointer_cast<ModelAPI_AttributeSelection>(theAttribute);
     GeomShapePtr aShape = anAttr->value();
     if (aShape.get())
@@ -178,7 +178,7 @@ bool GeomValidators_ShapeType::isValidObject(const ObjectPtr& theObject,
     ResultPtr aResult = std::dynamic_pointer_cast<ModelAPI_Result>(theObject);
     if( theShapeType==Plane )
     {
-      ResultConstructionPtr aResultConstruction = 
+      ResultConstructionPtr aResultConstruction =
         std::dynamic_pointer_cast<ModelAPI_ResultConstruction>(theObject);
       FeaturePtr aFeature = ModelAPI_Feature::feature(theObject);
       const std::string& aKind = aFeature->getKind();