Code Duplication    Length = 3-3 lines in 2 locations

app/Vendor/PHPExcel/PHPExcel/Reader/Excel2007.php 1 location

@@ 1909-1911 (lines=3) @@
1906
				} else {
1907
					$objText = $value->createTextRun( PHPExcel_Shared_String::ControlCharacterOOXML2PHP( (string) $run->t ) );
1908
1909
					if (isset($run->rPr->rFont["val"])) {
1910
						$objText->getFont()->setName((string) $run->rPr->rFont["val"]);
1911
					}
1912
1913
					if (isset($run->rPr->sz["val"])) {
1914
						$objText->getFont()->setSize((string) $run->rPr->sz["val"]);

app/Vendor/PHPExcel/PHPExcel/Reader/Excel2007/Chart.php 1 location

@@ 383-385 (lines=3) @@
380
				$objText = $value->createTextRun( (string) $titleDetailElement->t );
381
			}
382
			if (isset($titleDetailElement->rPr)) {
383
				if (isset($titleDetailElement->rPr->rFont["val"])) {
384
					$objText->getFont()->setName((string) $titleDetailElement->rPr->rFont["val"]);
385
				}
386
387
				$fontSize = (self::_getAttribute($titleDetailElement->rPr, 'sz', 'integer'));
388
				if (!is_null($fontSize)) {