Code Duplication    Length = 5-5 lines in 2 locations

app/Vendor/PHPExcel/PHPExcel/Writer/HTML.php 2 locations

@@ 707-711 (lines=5) @@
704
			// table.sheetN tr { }
705
			$css['table.sheet' . $sheetIndex . ' tr'] = array();
706
707
			if ($rowDimension->getRowHeight() == -1) {
708
				$pt_height = PHPExcel_Shared_Font::getDefaultRowHeightByFont($this->_phpExcel->getDefaultStyle()->getFont());
709
			} else {
710
				$pt_height = $rowDimension->getRowHeight();
711
			}
712
			$css['table.sheet' . $sheetIndex . ' tr']['height'] = $pt_height . 'pt';
713
			if ($rowDimension->getVisible() === false) {
714
				$css['table.sheet' . $sheetIndex . ' tr']['display']	= 'none';
@@ 725-729 (lines=5) @@
722
				// table.sheetN tr.rowYYYYYY { }
723
				$css['table.sheet' . $sheetIndex . ' tr.row' . $row] = array();
724
725
				if ($rowDimension->getRowHeight() == -1) {
726
					$pt_height = PHPExcel_Shared_Font::getDefaultRowHeightByFont($this->_phpExcel->getDefaultStyle()->getFont());
727
				} else {
728
					$pt_height = $rowDimension->getRowHeight();
729
				}
730
				$css['table.sheet' . $sheetIndex . ' tr.row' . $row]['height'] = $pt_height . 'pt';
731
				if ($rowDimension->getVisible() === false) {
732
					$css['table.sheet' . $sheetIndex . ' tr.row' . $row]['display'] = 'none';