diff --git a/ve/velib.h b/ve/velib.h index b39c31e3d..e7f5c7c0e 100755 --- a/ve/velib.h +++ b/ve/velib.h @@ -468,7 +468,7 @@ public: const TTipo_riga_documento & tipo() const; const TSpesa_prest & spesa() const; static const TCodiceIVA & iva(const char * codice); - const TCodiceIVA & iva() const {const TString16 cod(get(RDOC_CODIVA)); return iva(cod);} + const TCodiceIVA & iva() const {const TString4 cod(get(RDOC_CODIVA)); return iva(cod);} const bool tipo_valido() const { return get(RDOC_TIPORIGA).not_empty(); } void set_tipo(const char * tipo) { put(RDOC_TIPORIGA, tipo);}