Patch level :2.0 AVIS nopatch

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :altri errori di compilazione non esistenti nella 16 bit


git-svn-id: svn://10.65.10.50/trunk@11548 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-10-29 17:06:19 +00:00
parent b9f8c956ba
commit 617e1dfb43
2 changed files with 9 additions and 8 deletions

View File

@ -247,11 +247,11 @@ void TStampaConvocazioni::header_sezione(const TString16 codsez, const TString16
bool TStampaConvocazioni::filter_func_conv (const TRelation* rel)
{
TLocalisamfile& sog = rel->lfile();
const TRectype& sog = rel->curr();
const TDate dataprossi = sog.get_date(SOG_DATAPROSSI);
const char stato = rel->curr(-ALIAS_TABTCS).get_char("S6");
const bool dimesso = rel->curr(-ALIAS_TABCTD).get_char("B0");
TDate dataconv = sog.curr().get_date(SOG_DATACONV);
const bool dimesso = rel->curr(-ALIAS_TABCTD).get_bool("B0");
TDate dataconv = sog.get_date(SOG_DATACONV);
const int totdon = sog.get_int(SOG_TOTDON);
const int numconv = sog.get_int(SOG_NUMCONV);
if (dataprossi.ok())
@ -272,7 +272,8 @@ bool TStampaConvocazioni::filter_func_conv (const TRelation* rel)
return FALSE;
}
else
if ((intconvsi >= 0) && (intconvsi < app()._intmax) && (intultconvsi > app()._intmin) && ((stato == STATO_IDONEO) || (stato == STATO_FINESO)) && (dimesso != 'X'))
if ((intconvsi >= 0) && (intconvsi < app()._intmax) && (intultconvsi > app()._intmin) &&
((stato == STATO_IDONEO) || (stato == STATO_FINESO)) && (!dimesso))
return TRUE;
else
return FALSE;

View File

@ -609,7 +609,7 @@ bool TCtpr2at::soggetto(const TString& istruzione)
recsog.put(SOG_UTENULTAGG, "CETRAPLUS");
error = recsog.rewrite(_rel->lfile());
}
return (error = NOERR);
return (error == NOERR);
}
else
return FALSE;
@ -1176,7 +1176,7 @@ bool TCtpr2at::accesso(const TString& istruzione)
stampa << record["DT_ACCESSO"];
print_line(stampa);
}
return (error = NOERR);
return (error == NOERR);
}
else
return FALSE;
@ -1423,7 +1423,7 @@ bool TCtpr2at::analisi(const TString& istruzione)
print_line(stampa);
print_line();
}
return (error = NOERR);
return (error == NOERR);
}
}
}
@ -1570,7 +1570,7 @@ bool TCtpr2at::esclusione(const TString& istruzione)
print_line(stampa);
print_line();
}
return (error = NOERR);
return (error == NOERR);
}
}
}