gdtiti / purepdf

Automatically exported from code.google.com/p/purepdf
0 stars 0 forks source link

duplicate variable warning in examples #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the file "TableExample2.as", line 249, function "override protected function 
execute( event: Event = null ): void":

The variable declaration:  "var p: Paragraph", is already defined in teh same 
function, on line 237.

Suggested Fix: change "var p: Paragraph" to "p" on line 249.

Original issue reported on code.google.com by coolco...@gmail.com on 15 Jan 2012 at 1:27

GoogleCodeExporter commented 9 years ago
Another one in "Reflection.as", line 311.   Change from "var p0: Phrase" tp 
"p0".   Declared on line 284 already.  Although my suggested proper fix would 
be to change both lines 311 and 284 to "p0" and add up at the top of the 
"private function process_element( element: XML ): void" function in the 
variable declarations area: "var p0: Phrase;"

Original comment by coolco...@gmail.com on 15 Jan 2012 at 3:34