From f0b2b582f796b8557ccb7686f0c80690dc8dc75e Mon Sep 17 00:00:00 2001 From: mtollari Date: Fri, 9 Sep 2016 10:38:45 +0000 Subject: [PATCH] Patch level : 12.0 no patch Files correlati : Commento : Aggiornata la get_filtered_cursor per i documenti git-svn-id: svn://10.65.10.50/branches/R_10_00@23225 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ve/ve0100.cpp | 4 ++-- ve/ve0100.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ve/ve0100.cpp b/ve/ve0100.cpp index 389599d7a..a12343123 100755 --- a/ve/ve0100.cpp +++ b/ve/ve0100.cpp @@ -19,10 +19,10 @@ #include "sconti.h" #include -TCursor& TMotore_application::get_filtered_cursor() const +TCursor* TMotore_application::get_filtered_cursor() const { const TEdit_field& f = _msk->efield(F_NDOC); - return *f.browse()->cursor(); + return f.browse()->cursor(); } bool TMotore_application::can_I_write(const TRelation* rel) const diff --git a/ve/ve0100.h b/ve/ve0100.h index d97dbcec4..c47238087 100755 --- a/ve/ve0100.h +++ b/ve/ve0100.h @@ -53,7 +53,7 @@ protected: virtual int rewrite(const TMask& m); virtual bool remove(); virtual bool has_filtered_cursor() const { return true; } - virtual TCursor& get_filtered_cursor() const; + virtual TCursor* get_filtered_cursor() const; virtual bool save_and_new() const; virtual bool can_I_write(const TRelation* rel) const;