Corretto errore MI1078.

git-svn-id: svn://10.65.10.50/trunk@2960 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1996-06-04 14:34:46 +00:00
parent 777cc16ad5
commit b8c4b4a029
2 changed files with 4 additions and 14 deletions

View File

@ -18,7 +18,6 @@
#include <mov.h>
#include <pagsca.h>
#include <scadenze.h>
#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);
}

View File

@ -9,7 +9,6 @@
#include "sc2401.h"
#include <causali.h>
#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