diff --git a/ba/ba1400.cpp b/ba/ba1400.cpp index add068a09..0287856c0 100755 --- a/ba/ba1400.cpp +++ b/ba/ba1400.cpp @@ -23,7 +23,7 @@ class TSet_users : public TRelation_application virtual bool changing_mask(int mode) { return FALSE;} virtual TRelation* get_relation() const { return _rel;} virtual int read(TMask& m); - void put_in_record(const TMask& m); + void put_in_record(const TMask& m); virtual int write(const TMask& m); virtual int rewrite(const TMask& m); virtual bool remove(); @@ -43,13 +43,12 @@ public: }; bool TSet_users::user_handler(TMask_field& f, KEY key) - { - if (!f.mask().query_mode() || !f.to_check(key)) return TRUE; - + if (!f.mask().query_mode() || !f.to_check(key)) + return TRUE; const bool ok = f.get().find(' ') < 0; - - if (!ok) return f.error_box("Il nome dell'utente non deve contenere spazi"); + if (!ok) + return f.error_box("Il nome dell'utente non deve contenere spazi"); return ok; } @@ -84,8 +83,6 @@ void TSet_users::build_sheet(TMask& m, const TRelation* r) else riga.add(" "); riga.add(module); } - - } void TSet_users::enable_aut(TMask& m) @@ -134,7 +131,6 @@ bool TSet_users::user_create() } int TSet_users::read(TMask& m) - { TRelation_application::read(m); const TRelation *r = get_relation(); diff --git a/ba/ba1400a.uml b/ba/ba1400a.uml index 9be72a397..08546aaa9 100755 --- a/ba/ba1400a.uml +++ b/ba/ba1400a.uml @@ -38,7 +38,7 @@ SPREADSHEET F_MODULI 78 BEGIN PROMPT 0 5 "Moduli" ITEM "Modulo@40" - ITEM "Abilitato@C" + ITEM "Abilitato" ITEM "Codice" END