From 70f41188ea4aa94f6da31824d51de902c33de2b2 Mon Sep 17 00:00:00 2001 From: guy <guy@c028cbd2-c16b-5b4b-a496-9718f37d4682> Date: Tue, 10 Apr 2007 09:26:04 +0000 Subject: [PATCH] Patch level : 4.0 Files correlati : Ricompilazione Demo : [ ] Commento : Aggiunti commenti e tolte funzioni vuote! git-svn-id: svn://10.65.10.50/trunk@15202 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ce/ce0400.cpp | 4 ---- ce/ce2101.cpp | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ce/ce0400.cpp b/ce/ce0400.cpp index e26f536f1..ba29c88c8 100755 --- a/ce/ce0400.cpp +++ b/ce/ce0400.cpp @@ -52,10 +52,6 @@ bool TConfig_mask::on_field_event(TOperable_field& f, TField_event e, long jolly else return error_box(TR("Non ci sono campi personalizzati")); - } - if (e == fe_init || e == fe_modify) - { - } break; default: break; diff --git a/ce/ce2101.cpp b/ce/ce2101.cpp index cb640b6d6..0c4535f5f 100755 --- a/ce/ce2101.cpp +++ b/ce/ce2101.cpp @@ -1790,7 +1790,7 @@ void TCespite::agg_spe_man(bool is_valid) if (vspmanu > ZERO) { TDitta_cespiti& cce = ditta_cespiti(); - TString16 field; // Nome del campo da incrementare + const char* field = NULL; // Nome del campo da incrementare const int tpspeman = get_int(CESPI_TPSPEMAN); if (tpspeman == 2 || (tpspeman == 4 && !cce.esente_art14())) @@ -1798,7 +1798,7 @@ void TCespite::agg_spe_man(bool is_valid) if (tpspeman == 3) field = "R3"; - if (field.not_empty()) + if (field != NULL) { int es; TString4 gr, sp; @@ -1806,7 +1806,7 @@ void TCespite::agg_spe_man(bool is_valid) TString16 key; key.format("%04d%s%s", es, (const char*)gr, (const char*)sp); - TTable ccb("CCB"); + TTable ccb("CCB"); // Uso TTable e non cache perche' devo anche aggiornare ccb.put("CODTAB", key); const int err = ccb.read(); if (err != NOERR)