diff --git a/cg/cg2106.cpp b/cg/cg2106.cpp index 801a10255..b719e9b3a 100755 --- a/cg/cg2106.cpp +++ b/cg/cg2106.cpp @@ -1,7 +1,6 @@ #include #include #include -#include #include #include diff --git a/cg/cg4301.cpp b/cg/cg4301.cpp index a2cbbe012..724c62b70 100755 --- a/cg/cg4301.cpp +++ b/cg/cg4301.cpp @@ -5,7 +5,6 @@ // ------------------------------------------------------------ #include -#include #include #include #include diff --git a/cg/cg4400.cpp b/cg/cg4400.cpp index c7dee4608..5fca95a95 100755 --- a/cg/cg4400.cpp +++ b/cg/cg4400.cpp @@ -3,7 +3,6 @@ // Usurpatore di Liberta'... // Nemico ed Oscuro Messo di Malvagita'... #include -#include #include #include "cg4.h" diff --git a/cg/cg6100.cpp b/cg/cg6100.cpp index 16c208896..13ca3131c 100755 --- a/cg/cg6100.cpp +++ b/cg/cg6100.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include "cglib04.h" diff --git a/cg/cg6902.cpp b/cg/cg6902.cpp index d3efc1925..74ae47a4f 100755 --- a/cg/cg6902.cpp +++ b/cg/cg6902.cpp @@ -1,6 +1,4 @@ -#include #include -#include #include #include "cg6900.h" @@ -1061,10 +1059,8 @@ void TInv_cont::sola_iva(TString& record, long nreg) if (cau.read() == NOERR) tipodoc = cau.get(CAU_TIPODOC); - TTable tabtpd("%TPD"); - tabtpd.put("CODTAB", tipodoc); - if (tabtpd.read() == NOERR) - cor = tabtpd.get_bool("B0"); + const TRectype& tabtpd = cache().get("%TPD", tipodoc); + cor = tabtpd.get_bool("B0"); if (!cor) {