Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : tolto controllo inutile stringa.ok() git-svn-id: svn://10.65.10.50/trunk@9233 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
561dd5e9b1
commit
5fcae22382
@ -323,17 +323,17 @@ bool TStampaTessere::set_print(int m)
|
||||
const TString16 catqua = _msk->get(F_CAT4);
|
||||
const TString16 catqui = _msk->get(F_CAT5);
|
||||
const TString16 catses = _msk->get(F_CAT6);
|
||||
if (catpri.not_empty() && catpri.ok())
|
||||
if (catpri.not_empty())
|
||||
_categorie.add((const char*) catpri);
|
||||
if (catsec.not_empty() && catsec.ok())
|
||||
if (catsec.not_empty())
|
||||
_categorie.add((const char*) catsec);
|
||||
if (catter.not_empty() && catter.ok())
|
||||
if (catter.not_empty())
|
||||
_categorie.add((const char*) catter);
|
||||
if (catqua.not_empty() && catqua.ok())
|
||||
if (catqua.not_empty())
|
||||
_categorie.add((const char*) catqua);
|
||||
if (catqui.not_empty() && catqui.ok())
|
||||
if (catqui.not_empty())
|
||||
_categorie.add((const char*) catqui);
|
||||
if (catses.not_empty() && catses.ok())
|
||||
if (catses.not_empty())
|
||||
_categorie.add((const char*) catses);
|
||||
current_cursor()->set_filterfunction (filter_func_auto, TRUE);
|
||||
_contatore = 0;
|
||||
|
@ -347,17 +347,17 @@ bool TSitSanitaria::set_print(int)
|
||||
const TString16 catqua = _msk->get(F_CAT4);
|
||||
const TString16 catqui = _msk->get(F_CAT5);
|
||||
const TString16 catses = _msk->get(F_CAT6);
|
||||
if (catpri.not_empty() && catpri.ok())
|
||||
if (catpri.not_empty())
|
||||
_categorie.add((const char*) catpri);
|
||||
if (catsec.not_empty() && catsec.ok())
|
||||
if (catsec.not_empty())
|
||||
_categorie.add((const char*) catsec);
|
||||
if (catter.not_empty() && catter.ok())
|
||||
if (catter.not_empty())
|
||||
_categorie.add((const char*) catter);
|
||||
if (catqua.not_empty() && catqua.ok())
|
||||
if (catqua.not_empty())
|
||||
_categorie.add((const char*) catqua);
|
||||
if (catqui.not_empty() && catqui.ok())
|
||||
if (catqui.not_empty())
|
||||
_categorie.add((const char*) catqui);
|
||||
if (catses.not_empty() && catses.ok())
|
||||
if (catses.not_empty())
|
||||
_categorie.add((const char*) catses);
|
||||
current_cursor()->set_filterfunction(filter_func_sitsanitaria,TRUE);
|
||||
reset_print();
|
||||
|
@ -393,17 +393,17 @@ bool TTurniControlli::set_print(int)
|
||||
const TString16 catqua = _msk->get(F_CAT4);
|
||||
const TString16 catqui = _msk->get(F_CAT5);
|
||||
const TString16 catses = _msk->get(F_CAT6);
|
||||
if (catpri.not_empty() && catpri.ok())
|
||||
if (catpri.not_empty())
|
||||
_categorie.add((const char*) catpri);
|
||||
if (catsec.not_empty() && catsec.ok())
|
||||
if (catsec.not_empty())
|
||||
_categorie.add((const char*) catsec);
|
||||
if (catter.not_empty() && catter.ok())
|
||||
if (catter.not_empty())
|
||||
_categorie.add((const char*) catter);
|
||||
if (catqua.not_empty() && catqua.ok())
|
||||
if (catqua.not_empty())
|
||||
_categorie.add((const char*) catqua);
|
||||
if (catqui.not_empty() && catqui.ok())
|
||||
if (catqui.not_empty())
|
||||
_categorie.add((const char*) catqui);
|
||||
if (catses.not_empty() && catses.ok())
|
||||
if (catses.not_empty())
|
||||
_categorie.add((const char*) catses);
|
||||
current_cursor()->set_filterfunction(filter_func_turnicon,TRUE);
|
||||
reset_print();
|
||||
|
@ -107,7 +107,7 @@ bool TStampaMedici::preprocess_page(int file, int counter)
|
||||
_cognome_nome = nome;
|
||||
TString256 localita = "";
|
||||
localita << current_cursor()->curr("LCP").get("S0");
|
||||
if (localita.not_empty() && localita.ok())
|
||||
if (localita.not_empty())
|
||||
localita << " - ";
|
||||
localita << current_cursor()->curr(LF_COMUNI).get(COM_DENCOM);
|
||||
_dencom = localita;
|
||||
|
@ -104,7 +104,7 @@ bool TStampaSezioni::preprocess_page(int file, int counter)
|
||||
{
|
||||
TString256 localita = "";
|
||||
localita << current_cursor()->curr("LCP").get("S0");
|
||||
if (localita.not_empty() && localita.ok())
|
||||
if (localita.not_empty())
|
||||
localita << " - ";
|
||||
localita << current_cursor()->curr(LF_COMUNI).get(COM_DENCOM);
|
||||
_dencom = localita;
|
||||
|
@ -254,17 +254,17 @@ bool TStampaIncompleti::set_print(int m)
|
||||
const TString16 catqua = _msk->get(F_CAT4);
|
||||
const TString16 catqui = _msk->get(F_CAT5);
|
||||
const TString16 catses = _msk->get(F_CAT6);
|
||||
if (catpri.not_empty() && catpri.ok())
|
||||
if (catpri.not_empty())
|
||||
_catdon.add((const char*) catpri);
|
||||
if (catsec.not_empty() && catsec.ok())
|
||||
if (catsec.not_empty())
|
||||
_catdon.add((const char*) catsec);
|
||||
if (catter.not_empty() && catter.ok())
|
||||
if (catter.not_empty())
|
||||
_catdon.add((const char*) catter);
|
||||
if (catqua.not_empty() && catqua.ok())
|
||||
if (catqua.not_empty())
|
||||
_catdon.add((const char*) catqua);
|
||||
if (catqui.not_empty() && catqui.ok())
|
||||
if (catqui.not_empty())
|
||||
_catdon.add((const char*) catqui);
|
||||
if (catses.not_empty() && catses.ok())
|
||||
if (catses.not_empty())
|
||||
_catdon.add((const char*) catses);
|
||||
_catnondon.destroy();
|
||||
const TString16 catnpri = _msk->get(F_CATN1);
|
||||
@ -273,17 +273,17 @@ bool TStampaIncompleti::set_print(int m)
|
||||
const TString16 catnqua = _msk->get(F_CATN4);
|
||||
const TString16 catnqui = _msk->get(F_CATN5);
|
||||
const TString16 catnses = _msk->get(F_CATN6);
|
||||
if (catnpri.not_empty() && catnpri.ok())
|
||||
if (catnpri.not_empty())
|
||||
_catnondon.add((const char*) catnpri);
|
||||
if (catnsec.not_empty() && catnsec.ok())
|
||||
if (catnsec.not_empty())
|
||||
_catnondon.add((const char*) catnsec);
|
||||
if (catnter.not_empty() && catnter.ok())
|
||||
if (catnter.not_empty())
|
||||
_catnondon.add((const char*) catnter);
|
||||
if (catnqua.not_empty() && catnqua.ok())
|
||||
if (catnqua.not_empty())
|
||||
_catnondon.add((const char*) catnqua);
|
||||
if (catnqui.not_empty() && catnqui.ok())
|
||||
if (catnqui.not_empty())
|
||||
_catnondon.add((const char*) catnqui);
|
||||
if (catnses.not_empty() && catnses.ok())
|
||||
if (catnses.not_empty())
|
||||
_catnondon.add((const char*) catnses);
|
||||
_indirizzo = _msk->get_bool(F_INDIRIZZO);
|
||||
_comune = _msk->get_bool(F_COMUNE);
|
||||
|
@ -176,7 +176,7 @@ bool TStampaNonDom::preprocess_page(int file, int counter)
|
||||
_cognome_nome = nome;
|
||||
TString256 localita = "";
|
||||
localita << current_cursor()->curr(-ALIAS_LCP).get("S6");
|
||||
if (localita.not_empty() && localita.ok())
|
||||
if (localita.not_empty())
|
||||
{
|
||||
localita << ' ';
|
||||
localita << current_cursor()->curr(-ALIAS_LCP).get("S0");
|
||||
@ -253,17 +253,17 @@ bool TStampaNonDom::set_print(int m)
|
||||
const TString16 catqua = _msk->get(F_CAT4);
|
||||
const TString16 catqui = _msk->get(F_CAT5);
|
||||
const TString16 catses = _msk->get(F_CAT6);
|
||||
if (catpri.not_empty() && catpri.ok())
|
||||
if (catpri.not_empty())
|
||||
_catdon.add((const char*) catpri);
|
||||
if (catsec.not_empty() && catsec.ok())
|
||||
if (catsec.not_empty())
|
||||
_catdon.add((const char*) catsec);
|
||||
if (catter.not_empty() && catter.ok())
|
||||
if (catter.not_empty())
|
||||
_catdon.add((const char*) catter);
|
||||
if (catqua.not_empty() && catqua.ok())
|
||||
if (catqua.not_empty())
|
||||
_catdon.add((const char*) catqua);
|
||||
if (catqui.not_empty() && catqui.ok())
|
||||
if (catqui.not_empty())
|
||||
_catdon.add((const char*) catqui);
|
||||
if (catses.not_empty() && catses.ok())
|
||||
if (catses.not_empty())
|
||||
_catdon.add((const char*) catses);
|
||||
_catnondon.destroy();
|
||||
const TString16 catnpri = _msk->get(F_CATN1);
|
||||
@ -272,17 +272,17 @@ bool TStampaNonDom::set_print(int m)
|
||||
const TString16 catnqua = _msk->get(F_CATN4);
|
||||
const TString16 catnqui = _msk->get(F_CATN5);
|
||||
const TString16 catnses = _msk->get(F_CATN6);
|
||||
if (catnpri.not_empty() && catnpri.ok())
|
||||
if (catnpri.not_empty())
|
||||
_catnondon.add((const char*) catnpri);
|
||||
if (catnsec.not_empty() && catnsec.ok())
|
||||
if (catnsec.not_empty())
|
||||
_catnondon.add((const char*) catnsec);
|
||||
if (catnter.not_empty() && catnter.ok())
|
||||
if (catnter.not_empty())
|
||||
_catnondon.add((const char*) catnter);
|
||||
if (catnqua.not_empty() && catnqua.ok())
|
||||
if (catnqua.not_empty())
|
||||
_catnondon.add((const char*) catnqua);
|
||||
if (catnqui.not_empty() && catnqui.ok())
|
||||
if (catnqui.not_empty())
|
||||
_catnondon.add((const char*) catnqui);
|
||||
if (catnses.not_empty() && catnses.ok())
|
||||
if (catnses.not_empty())
|
||||
_catnondon.add((const char*) catnses);
|
||||
current_cursor()->set_filterfunction (filter_func_nondom,TRUE);
|
||||
((TSorted_cursor*)current_cursor())->change_order(chiave);
|
||||
|
Loading…
x
Reference in New Issue
Block a user