Correzioni per XI

git-svn-id: svn://10.65.10.50/trunk@2836 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1996-05-16 09:25:36 +00:00
parent 5f2d283e22
commit 2877d2284f
3 changed files with 7 additions and 7 deletions

View File

@ -106,7 +106,7 @@ bool BA3200_application::preprocess_page(int , int)
TFieldref fld(fn, 0);
TString& s = (TString &) _string_roman[i];
const int n = atoi(fld.read(_rel));
const int n = atoi(fld.read(*_rel));
s = itor(n);
}
}

View File

@ -228,7 +228,7 @@ int BA3500_application::rewrite(const TMask& m)
const int anno = m.get_int(F_ANNO);
const TString cod_lib(m.get(F_CODLIB));
m.autosave(_rel);
m.autosave(*_rel);
TSheet_field& cs = (TSheet_field&)m.field(F_SHEET_LBU);
@ -273,7 +273,7 @@ int BA3500_application::write(const TMask& m)
const int anno = m.get_int(F_ANNO);
const TString cod_lib(m.get(F_CODLIB));
m.autosave(_rel);
m.autosave(*_rel);
TSheet_field& cs = (TSheet_field&)m.field(F_SHEET_LBU);
@ -361,7 +361,7 @@ int BA3500_application::cancella(long items)
***********/
int BA3500_application::read(TMask& m)
{
m.autoload(_rel);
m.autoload(*_rel);
fill_sheet(m);
return NOERR;

View File

@ -110,7 +110,7 @@ bool BA3700_application::user_destroy()
int BA3700_application::read(TMask& m)
{
m.autoload(_rel);
m.autoload(*_rel);
TString code(m.get(F_CODICE));
int ir = m.get_int(F_INT_RATE); if (ir == 0) ir = -1;
@ -487,7 +487,7 @@ int BA3700_application::rewrite(const TMask& m)
TTable& tab_rpg = (TTable&)_rel->lfile(-ALIAS);
const int err = _pag->rewrite(tab_rpg);
if (err != NOERR) return err;
m.autosave(_rel);
m.autosave(*_rel);
tab_cpg.put("B1", _pag->rate_differenziate() ? "X" : "");
return _rel->lfile().rewrite();
}
@ -498,7 +498,7 @@ int BA3700_application::write(const TMask& m)
TTable& tab_rpg = (TTable&)_rel->lfile(-ALIAS);
const int err = _pag->write(tab_rpg);
if (err != NOERR) return err;
m.autosave(_rel);
m.autosave(*_rel);
tab_cpg.put("B1", _pag->rate_differenziate() ? "X" : "");
return _rel->lfile().write();
}