]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_SketchCopy.cpp
Salome HOME
Get rid of compilation warnings. Part II. MSVC warnings.
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_SketchCopy.cpp
index 24ce8f58287c52ea56e03af49f871db1a283165e..4439c1067e27b8344d4086958959d81ec1beaa1a 100644 (file)
@@ -185,8 +185,7 @@ static void copyRefList(AttributeRefListPtr theOld,
 }
 
 static void copySelection(AttributeSelectionPtr theOld,
-                          AttributeSelectionPtr theNew,
-                          MapEntities& theMapOldNew)
+                          AttributeSelectionPtr theNew)
 {
   theNew->selectValue(theOld);
 }
@@ -215,8 +214,7 @@ void copyAttribute(AttributePtr theOld, AttributePtr theNew, MapEntities& theMap
   }
   else if (theNew->attributeType() == ModelAPI_AttributeSelection::typeId()) {
     copySelection(std::dynamic_pointer_cast<ModelAPI_AttributeSelection>(theOld),
-                  std::dynamic_pointer_cast<ModelAPI_AttributeSelection>(theNew),
-                  theMapOldNew);
+                  std::dynamic_pointer_cast<ModelAPI_AttributeSelection>(theNew));
   }
 }