From b8c4b4a029e306279714ba7855015dc0cf705705 Mon Sep 17 00:00:00 2001 From: angelo Date: Tue, 4 Jun 1996 14:34:46 +0000 Subject: [PATCH] Corretto errore MI1078. git-svn-id: svn://10.65.10.50/trunk@2960 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- sc/sc2100.cpp | 9 ++------- sc/sc2401.cpp | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) 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