]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
compilation on Windows For_CTH_V14
authorptv <ptv@opencascade.com>
Wed, 29 Oct 2008 13:31:20 +0000 (13:31 +0000)
committerptv <ptv@opencascade.com>
Wed, 29 Oct 2008 13:31:20 +0000 (13:31 +0000)
src/Plot2d/Plot2d_ViewFrame.cxx

index 4da72ad580c781406c08730f8f00d86bcf9ebf66..7db619b269309c2a4365eb768bb6e5941b70eac5 100755 (executable)
@@ -1037,7 +1037,8 @@ void Plot2d_ViewFrame::onCurvesSettings()
   QList< Plot2d_Curve* > aCurves;
 
   CurveDict::iterator it = myPlot->getCurves().begin();
-  for ( int i = 0; it != myPlot->getCurves().end(); it++, i++ )
+  int i = 0;
+  for ( i = 0; it != myPlot->getCurves().end(); it++, i++ )
   {
     Plot2d_Curve* aCurve = it.value();
     if ( !aCurve )