diff --git a/sc/sc2100.cpp b/sc/sc2100.cpp index 84dbb3d37..c65b604af 100755 --- a/sc/sc2100.cpp +++ b/sc/sc2100.cpp @@ -18,7 +18,6 @@ #include #include #include -#define DA_VUOTARE "***" /////////////////////////////////////////////////////////// @@ -206,7 +205,6 @@ int TEC_row::compare(const TSortable& s) const // Annulla i campi uguali alla riga precedente void TEC_row::reset_uguali() { - _descrizione = DA_VUOTARE; _num_doc = ""; _data_doc = botime; _num_prot = 0; @@ -267,11 +265,8 @@ void TEC_row::print_on(TPrint_section& body) if (num_reg() > 0) // Riga di partita vera e propria (non totale parziale) { TString s(80); - if (_descrizione != DA_VUOTARE) - { - s = descr.prompt(); - TEC_form::_form->change_magic_body(*this, s); - } + s = descr.prompt(); + TEC_form::_form->change_magic_body(*this, s); descr.set(s); } diff --git a/sc/sc2401.cpp b/sc/sc2401.cpp index 8a696b00f..e65c46b3b 100755 --- a/sc/sc2401.cpp +++ b/sc/sc2401.cpp @@ -9,7 +9,6 @@ #include "sc2401.h" #include -#define DA_VUOTARE "***" bool TESSL_mask::codprof_handler(TMask_field& f, KEY k) { @@ -155,7 +154,6 @@ int TESSL_row::compare(const TSortable& s) const // Annulla i campi uguali alla riga precedente void TESSL_row::reset_uguali() { - _descrizione = DA_VUOTARE; _num_doc = ""; _data_doc = botime; _num_prot = 0; @@ -220,11 +218,8 @@ void TESSL_row::print_on(TPrint_section& body) if (num_reg() > 0) // Riga di partita vera e propria (non totale parziale) { TString s(80); - if (_descrizione != DA_VUOTARE) - { - s = descr.prompt(); - TESSL_form::_form->change_magic_body(*this, s); - } + s = descr.prompt(); + TESSL_form::_form->change_magic_body(*this, s); descr.set(s); } else