From f6d9f5a54f3ef4973e06189f43df2f011419cd05 Mon Sep 17 00:00:00 2001 From: luca Date: Wed, 3 Jan 2007 16:32:43 +0000 Subject: [PATCH] Patch level :4.0 nopatch Files correlati : Ricompilazione Demo : [ ] Commento :corretti errori di compilazione dovuti a compilatore nuovo git-svn-id: svn://10.65.10.50/trunk@14714 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- sv/sv0100.cpp | 3 ++- sv/sv1200.cpp | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sv/sv0100.cpp b/sv/sv0100.cpp index 90238829b..3d1288ac5 100755 --- a/sv/sv0100.cpp +++ b/sv/sv0100.cpp @@ -131,7 +131,8 @@ void TPSV_tabapp::fill_field_list(TMask& m) TToken_string row(80); TCodart_livelli cal; - for (int l = 0; l <= cal.last_level(); l++) + int l; + for (l = 0; l <= cal.last_level(); l++) { if (l && !cal.enabled(l)) continue; diff --git a/sv/sv1200.cpp b/sv/sv1200.cpp index 98d2a263a..19ee24983 100755 --- a/sv/sv1200.cpp +++ b/sv/sv1200.cpp @@ -1480,8 +1480,8 @@ void TStampa_stat::fill_field_list(TMask& m) TCodart_livelli& cal = *_liv_art; bool is_articolo = FALSE; - - for (int l = 0; l <= cal.last_level(); l++) + int l; + for (l = 0; l <= cal.last_level(); l++) { if (l && !cal.enabled(l)) continue; @@ -1983,7 +1983,7 @@ void TStampa_stat::set_printmask() TMask &mp=selmask(); // visualizza i checkbox per i totali - const nlivelli=mp.sfield(F_CHIAVE).items(); + const int nlivelli = mp.sfield(F_CHIAVE).items(); TString80 nomeliv; printmask().field(F_FLAGSTOTALI).set("X"); TSheet_field& sc = mp.sfield(F_CHIAVE);