Code Duplication    Length = 2-3 lines in 2 locations

web_interface/astpp/application/libraries/html2pdf/html2pdf.php 2 locations

@@ 5327-5328 (lines=2) @@
5324
                    HTML2PDF::$_tables[$param['num']]['corr'][HTML2PDF::$_tables[$param['num']]['corr_y']] = array();
5325
5326
                HTML2PDF::$_tables[$param['num']]['corr_x'] = 0;
5327
                while (isset(HTML2PDF::$_tables[$param['num']]['corr'][HTML2PDF::$_tables[$param['num']]['corr_y']][HTML2PDF::$_tables[$param['num']]['corr_x']]))
5328
                    HTML2PDF::$_tables[$param['num']]['corr_x']++;
5329
            }
5330
5331
            return true;
@@ 5542-5544 (lines=3) @@
5539
                    }
5540
                }
5541
                HTML2PDF::$_tables[$param['num']]['corr_x'] += $colspan;
5542
                while (isset(HTML2PDF::$_tables[$param['num']]['corr'][HTML2PDF::$_tables[$param['num']]['corr_y']][HTML2PDF::$_tables[$param['num']]['corr_x']])) {
5543
                    HTML2PDF::$_tables[$param['num']]['corr_x']++;
5544
                }
5545
5546
                // extract the content of the TD, and calculate his size
5547
                $level = $this->parsingHtml->getLevel($this->_tempPos);