commit
0f200d99f4
@ -193,7 +193,8 @@ class OLERead
|
|||||||
}
|
}
|
||||||
|
|
||||||
return $streamData;
|
return $streamData;
|
||||||
} else {
|
}
|
||||||
|
|
||||||
$numBlocks = $this->props[$stream]['size'] / self::BIG_BLOCK_SIZE;
|
$numBlocks = $this->props[$stream]['size'] / self::BIG_BLOCK_SIZE;
|
||||||
if ($this->props[$stream]['size'] % self::BIG_BLOCK_SIZE != 0) {
|
if ($this->props[$stream]['size'] % self::BIG_BLOCK_SIZE != 0) {
|
||||||
++$numBlocks;
|
++$numBlocks;
|
||||||
@ -213,7 +214,6 @@ class OLERead
|
|||||||
|
|
||||||
return $streamData;
|
return $streamData;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read a standard stream (by joining sectors using information from SAT)
|
* Read a standard stream (by joining sectors using information from SAT)
|
||||||
|
|||||||
@ -1244,9 +1244,9 @@ class PclZip
|
|||||||
{
|
{
|
||||||
if (PCLZIP_ERROR_EXTERNAL == 1) {
|
if (PCLZIP_ERROR_EXTERNAL == 1) {
|
||||||
return (PclErrorCode());
|
return (PclErrorCode());
|
||||||
} else {
|
|
||||||
return ($this->error_code);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return ($this->error_code);
|
||||||
}
|
}
|
||||||
// --------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -1289,9 +1289,9 @@ class PclZip
|
|||||||
|
|
||||||
if ($p_with_code) {
|
if ($p_with_code) {
|
||||||
return ($v_value . ' (' . $this->error_code . ')');
|
return ($v_value . ' (' . $this->error_code . ')');
|
||||||
} else {
|
|
||||||
return ($v_value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return ($v_value);
|
||||||
}
|
}
|
||||||
// --------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -1304,14 +1304,14 @@ class PclZip
|
|||||||
{
|
{
|
||||||
if (PCLZIP_ERROR_EXTERNAL == 1) {
|
if (PCLZIP_ERROR_EXTERNAL == 1) {
|
||||||
return (PclErrorString());
|
return (PclErrorString());
|
||||||
} else {
|
}
|
||||||
|
|
||||||
if ($p_full) {
|
if ($p_full) {
|
||||||
return ($this->errorName(true) . " : " . $this->error_string);
|
return ($this->errorName(true) . " : " . $this->error_string);
|
||||||
} else {
|
}
|
||||||
|
|
||||||
return ($this->error_string . " [code " . $this->error_code . "]");
|
return ($this->error_string . " [code " . $this->error_code . "]");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
// --------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user