Skip to content
Snippets Groups Projects
Commit b9c5cd78 authored by Prasad's avatar Prasad
Browse files

Fixed warning due use of continue with default

parent d5394383
No related branches found
No related tags found
No related merge requests found
......@@ -274,6 +274,7 @@ class PHPExcel_Shared_OLE
// Simple conversion from UTF-16LE to ISO-8859-1
$name = str_replace("\x00", "", $nameUtf16);
$type = self::_readInt1($fh);
$pps = null;
switch ($type) {
case self::OLE_PPS_TYPE_ROOT:
$pps = new PHPExcel_Shared_OLE_PPS_Root(null, null, array());
......@@ -286,9 +287,8 @@ class PHPExcel_Shared_OLE
case self::OLE_PPS_TYPE_FILE:
$pps = new PHPExcel_Shared_OLE_PPS_File($name);
break;
default:
continue;
}
if ($pps == null) continue;
fseek($fh, 1, SEEK_CUR);
$pps->Type = $type;
$pps->Name = $name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment