Code Duplication    Length = 2-2 lines in 2 locations

web_interface/astpp/system/libraries/pdf.php 1 location

@@ 48-49 (lines=2) @@
45
		$this->CurOrientation = $orientation;
46
		$this->CurPageSize = $size;
47
	}
48
	if($orientation!=$this->DefOrientation || $size[0]!=$this->DefPageSize[0] || $size[1]!=$this->DefPageSize[1])
49
		$this->PageSizes[$this->page] = array($this->wPt, $this->hPt);
50
}
51
52
function Footer() {

web_interface/astpp/system/libraries/Fpdf.php 1 location

@@ 1202-1203 (lines=2) @@
1199
		$this->CurOrientation = $orientation;
1200
		$this->CurPageSize = $size;
1201
	}
1202
	if ($orientation != $this->DefOrientation || $size[0] != $this->DefPageSize[0] || $size[1] != $this->DefPageSize[1])
1203
		$this->PageSizes[$this->page] = array($this->wPt, $this->hPt);
1204
}
1205
1206
function _endpage()