} 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;
}
}