Cambiato il tipo di ritorno a find_filed per le sottosezioni
git-svn-id: svn://10.65.10.50/trunk@5094 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									c6daed2fc5
								
							
						
					
					
						commit
						2a2be1f919
					
				| @ -3612,11 +3612,11 @@ TForm_item& TForm::find_field(char s, pagetype t, short id) const | ||||
|   return ps->find_field(id); | ||||
| } | ||||
| 
 | ||||
| TForm_item& TForm::find_field(char s, pagetype t, const char *section) const | ||||
| TForm_subsection& TForm::find_field(char s, pagetype t, const char *section) const | ||||
| { | ||||
|   const TPrint_section* ps = ((TForm*)this)->exist(s, t); | ||||
|   CHECKS(ps, "Can't find section for field ", section); | ||||
|   return ps->find_field(section); | ||||
|   return (TForm_subsection&)ps->find_field(section); | ||||
| } | ||||
| 
 | ||||
| TPrint_section& TForm::section(char s, pagetype pos) | ||||
|  | ||||
| @ -319,7 +319,7 @@ public: | ||||
|   // @cmember Ritorna il campo <p id>-esimo della sezione <p sec>
 | ||||
|   TForm_item& find_field(char sec, pagetype pag, short id) const; | ||||
|   // @cmember Ritorna la sottosezione <p name> della sezione <p sec>
 | ||||
|   TForm_item& find_field(char sec, pagetype pag, const char *name) const; | ||||
|   TForm_subsection& find_field(char sec, pagetype pag, const char *name) const; | ||||
|   // @cmember Ritorna l'offset x valido per tutte le sezioni
 | ||||
|   int& offset_x()   | ||||
|   { return _x; } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user