From 7d7a551caa144c3151e354f0ddd6960042fc82ed Mon Sep 17 00:00:00 2001 From: nik Date: Fri, 9 Jun 1995 09:10:27 +0000 Subject: [PATCH] Sistemata ricerca dati di nascita git-svn-id: svn://10.65.10.50/trunk@1460 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg3400.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/cg/cg3400.cpp b/cg/cg3400.cpp index 6c7355759..03725e62d 100755 --- a/cg/cg3400.cpp +++ b/cg/cg3400.cpp @@ -335,7 +335,6 @@ void CG3400_application::get_dati_ditta () _cofi = _anag->get(ANA_COFI); _paiva = _anag->get(ANA_PAIV); - // _ragsoc = _anag->get(ANA_RAGSOC); _comunefis = _anag->get(ANA_COMRF); if (_comunefis.empty()) @@ -1428,27 +1427,20 @@ if (comune.not_empty() || prov.not_empty() || capcf.not_empty()) if (tipoa == 'F') { TString80 comna; - // TString80 viana; TString16 datana, codcomna, provna, capna, statona; - TLocalisamfile anafis (LF_ANAGFIS); - - anafis.zero(); - anafis.put("CODANAGR", codanagr); - if (anafis.read() != NOERR) anafis.zero(); - - datana = anafis.get("DATANASC"); + datana = _clifo->get("DATANASC"); if (datana.not_empty()) { - codcomna = anafis.get("COMNASC"); + codcomna = _clifo->get("COMNASC"); TRectype dep = look_com (codcomna); comna = dep.get(COM_DENCOM); provna = dep.get(COM_PROVCOM); capna = dep.get(COM_CAPCOM); - statona = anafis.get("STATO"); + statona = dep.get("STATO"); sprintf (riga, "@%dg%s %s %s %s", POSCONTO, (const char*)datana,