Salome HOME
Get rid of compilation warnings. Part II. MSVC warnings.
[modules/shaper.git] / src / ExchangePlugin / ExchangePlugin_ExportPart.cpp
index d589a0011799df781d37787e27bbc9fe9416d6fd..7ef6c5fe6c329efd30740c0d22eeeab63db4ede8 100644 (file)
@@ -196,9 +196,9 @@ void collectFeatures(DocumentPtr theDocument,
   std::set<FeaturePtr> aFeaturesToExport;
   for (int anIndex = 0, aSize = theSelected->size(); anIndex < aSize; ++anIndex) {
     AttributeSelectionPtr aCurrent = theSelected->value(anIndex);
-    FeaturePtr aCurrentFeature = ModelAPI_Feature::feature(aCurrent->context());
-    if (aCurrentFeature)
-      aFeaturesToExport.insert(aCurrentFeature);
+    FeaturePtr aCurFeature = ModelAPI_Feature::feature(aCurrent->context());
+    if (aCurFeature)
+      aFeaturesToExport.insert(aCurFeature);
   }
   // recursively collect all features used for the selected results
   allReferencedFeatures(aFeaturesToExport, aFeaturesToExport);