From c5c2dc9d82aeb818bdbd4513cc461b80e7cfda2a Mon Sep 17 00:00:00 2001 From: cris Date: Thu, 24 Oct 2002 09:07:43 +0000 Subject: [PATCH] Patch level : AT Files correlati : at2.exe Ricompilazione Demo : [ ] Commento : uso della cache() git-svn-id: svn://10.65.10.50/trunk@10566 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- at/at2700.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/at/at2700.cpp b/at/at2700.cpp index 0d6f9fe47..f0a310ea7 100755 --- a/at/at2700.cpp +++ b/at/at2700.cpp @@ -663,11 +663,8 @@ bool TStampaPerCategorie::preprocess_page(int file, int counter) const int ultima = _sbenemerenze->rows(); if (ultima != 0) { - TString16 codben = _sbenemerenze->row(ultima).get(BEN_TIPOBEN); - TTable bnz("BNZ"); - bnz.put("CODTAB",codben); - if (bnz.read() == NOERR) - benemerenza << bnz.get("S0"); + const TString16 codben = _sbenemerenze->row(ultima).get(BEN_TIPOBEN); + benemerenza << cache().get("BNZ", codben).get("S0"); } } benemerenza.cut(21);