0026586: Eliminate compile warnings obtained by building occt with vc14: declaration...
[occt.git] / src / BRepTools / BRepTools_Quilt.cxx
index eb6a324..522236e 100644 (file)
@@ -435,17 +435,17 @@ TopoDS_Shape BRepTools_Quilt::Shells() const
            // Add the faces of oldShell in SH.
            for (TopoDS_Iterator its(oldShell); its.More(); its.Next()) {
              const TopoDS_Face Fo = TopoDS::Face(its.Value());
-             TopAbs_Orientation NewO;
+             TopAbs_Orientation NewOFo;
              // update the orientation of Fo in SH.
              if (Rev) 
-               NewO = TopAbs::Reverse(MF(Fo).Orientation());
+               NewOFo = TopAbs::Reverse(MF(Fo).Orientation());
              else
-               NewO = MF(Fo).Orientation();
+               NewOFo = MF(Fo).Orientation();
 
-             MF.Bind(Fo,SH.Oriented(NewO));
+             MF.Bind(Fo,SH.Oriented(NewOFo));
 //           B.Add  (SH.Oriented(TopAbs_FORWARD),Fo.Oriented(NewO));
-              TopoDS_Shape arefShape = SH.Oriented(TopAbs_FORWARD) ;
-             B.Add  ( arefShape ,Fo.Oriented(NewO));
+              TopoDS_Shape arefShapeFo = SH.Oriented(TopAbs_FORWARD) ;
+             B.Add  ( arefShapeFo,Fo.Oriented(NewOFo));
            }
            // Rebind the free edges of the old shell to the new shell
             //gka BUG 6491