Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/reports/inc/class.uireports_fpdf.inc.php

    r6920 r7655  
    3838                //Calculate the height of the row 
    3939                $nb=0; 
    40                 for($i=0;$i< count($data);$i++) 
     40                for($i=0;$i< count($data);++$i) 
    4141                $nb=max($nb,$this->NbLines($this->widths[$i],$data[$i])); 
    4242                $h=5*$nb; 
     
    4444                $this->CheckPageBreak($h); 
    4545                //Draw the cells of the row 
    46                 for($i=0;$i< count($data);$i++) 
     46                for($i=0;$i< count($data);++$i) 
    4747                { 
    4848                        $w=$this->widths[$i]; 
     
    9090                        if($c=="\n") 
    9191                        { 
    92                                 $i++; 
     92                                ++$i; 
    9393                                $sep=-1; 
    9494                                $j=$i; 
    9595                                $l=0; 
    96                                 $nl++; 
     96                                ++$nl; 
    9797                                continue; 
    9898                        } 
     
    105105                                { 
    106106                                        if($i==$j) 
    107                                         $i++; 
     107                                        ++$i; 
    108108                                } 
    109109                                else 
     
    112112                                $j=$i; 
    113113                                $l=0; 
    114                                 $nl++; 
     114                                ++$nl; 
    115115                        } 
    116116                        else 
    117                         $i++; 
     117                        ++$i; 
    118118                } 
    119119                return $nl; 
Note: See TracChangeset for help on using the changeset viewer.