]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_ResultPart.cpp
Salome HOME
Resolve batch runtime errors on debian squeeze
[modules/shaper.git] / src / Model / Model_ResultPart.cpp
index 0392787f3c7a2b7a44558b0b851a81a3914a5eb6..a54ca670999c64d005f81c59f45d2a4712baf07e 100644 (file)
@@ -28,7 +28,7 @@ void Model_ResultPart::setData(std::shared_ptr<ModelAPI_Data> theData)
 {
   ModelAPI_Result::setData(theData);
   if (theData) {
-    data()->addAttribute(DOC_REF(), ModelAPI_AttributeDocRef::type());
+    data()->addAttribute(DOC_REF(), ModelAPI_AttributeDocRef::typeId());
   }
 }