]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_Constraint.cpp
Salome HOME
Resolve batch runtime errors on debian squeeze
[modules/shaper.git] / src / SketchSolver / SketchSolver_Constraint.cpp
index 61a42b64cf43195b46d9b6bb549cffc78040aa83..79d47ccf0a905938b68f37e4e4fdddf6583cd9d9 100644 (file)
@@ -231,9 +231,9 @@ AttrType typeOfAttribute(std::shared_ptr<ModelAPI_Attribute> theAttribute)
   } else {
     if (anAttrRef->attr().get() != NULL) {
       const std::string aType = anAttrRef->attr()->attributeType();
-      if (aType == GeomDataAPI_Point2D::type())
+      if (aType == GeomDataAPI_Point2D::typeId())
         return POINT2D;
-      if (aType == GeomDataAPI_Point2D::type())
+      if (aType == GeomDataAPI_Point2D::typeId())
         return POINT2D;
     }
   }