Salome HOME
Compsolids: initial implementation of sub-results of results on the data model level.
[modules/shaper.git] / src / ExchangePlugin / ExchangePlugin_ImportFeature.cpp
index e2d29c9c85ad7b2c8255a96617f8e068d9c1e5b0..a0e7ebaaf1fd5faf309e0069699598563b43a292 100644 (file)
@@ -113,9 +113,9 @@ void ExchangePlugin_ImportFeature::loadNamingDS(
     std::shared_ptr<ModelAPI_ResultBody> theResultBody)
 {
   //load result
-  theResultBody->getBodyBuilder()->store(theGeomShape);
+  theResultBody->store(theGeomShape);
 
   int aTag(1);
   std::string aNameMS = "Shape";
-  theResultBody->getBodyBuilder()->loadFirstLevel(theGeomShape, aNameMS, aTag);
+  theResultBody->loadFirstLevel(theGeomShape, aNameMS, aTag);
 }