Code Duplication    Length = 2-2 lines in 2 locations

includes/libraries/Pdf/Tfpdf/tfpdf.class.php 2 locations

@@ 1724-1725 (lines=2) @@
1721
        // Replace number of pages in fonts using subsets
1722
        $alias = $this->UTF8ToUTF16BE($this->AliasNbPages, false);
1723
        $r = $this->UTF8ToUTF16BE("$nb", false);
1724
        for ($n = 1; $n <= $nb; $n++)
1725
            $this->pages[$n] = str_replace($alias, $r, $this->pages[$n]);
1726
        // Now repeat for no pages in non-subset fonts
1727
        for ($n = 1; $n <= $nb; $n++)
1728
            $this->pages[$n] = str_replace($this->AliasNbPages, $nb, $this->pages[$n]);
@@ 1727-1728 (lines=2) @@
1724
        for ($n = 1; $n <= $nb; $n++)
1725
            $this->pages[$n] = str_replace($alias, $r, $this->pages[$n]);
1726
        // Now repeat for no pages in non-subset fonts
1727
        for ($n = 1; $n <= $nb; $n++)
1728
            $this->pages[$n] = str_replace($this->AliasNbPages, $nb, $this->pages[$n]);
1729
    }
1730
    if ($this->DefOrientation == 'P')
1731
    {