Salome HOME
Linux compilation and isPreviewNeeded method implementation.
[modules/shaper.git] / src / ModelAPI / ModelAPI_ShapeValidator.cpp
index 0ef625cd74f04ea4831d65016c0857947b64c292..fb03f459fbacc878155c6b552d2a9c37d3f0898f 100644 (file)
@@ -20,7 +20,7 @@ bool ModelAPI_ShapeValidator::isValid(const AttributePtr& theAttribute,
   std::string aCurrentAttributeId = theAttribute->id();
   // get all feature attributes
   std::list<AttributePtr> anAttrs = 
-                   aFeature->data()->attributes(ModelAPI_AttributeSelection::type());
+      aFeature->data()->attributes(ModelAPI_AttributeSelection::typeId());
   if (anAttrs.size() > 0 && aShape.get() != NULL) {
     std::list<AttributePtr>::iterator anAttr = anAttrs.begin();
     for(; anAttr != anAttrs.end(); anAttr++) {