]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSetPlugin/PartSetPlugin_Duplicate.cpp
Salome HOME
Issue #83: renamed PluginManager to Session
[modules/shaper.git] / src / PartSetPlugin / PartSetPlugin_Duplicate.cpp
index 7f94e6943b48dc7f47c925de3681f0d343c6ec70..f8ebfd9006d1f522e90b164d0bf47c4f1a56488e 100644 (file)
@@ -20,7 +20,7 @@ void PartSetPlugin_Duplicate::initAttributes()
   PartSetPlugin_Part::initAttributes();
   data()->addAttribute(ORIGIN_REF(), ModelAPI_AttributeRefAttr::type());
 
-  boost::shared_ptr<ModelAPI_PluginManager> aPManager = ModelAPI_PluginManager::get();
+  boost::shared_ptr<ModelAPI_Session> aPManager = ModelAPI_Session::get();
   boost::shared_ptr<ModelAPI_Document> aRoot = aPManager->rootDocument();
   boost::shared_ptr<ModelAPI_ResultPart> aSource;  // searching for source document attribute
   for (int a = aRoot->size(getGroup()) - 1; a >= 0; a--) {