replacing non-existent page content with empty one
This commit is contained in:
parent
cf00831a00
commit
982ea98c44
1 changed files with 3 additions and 0 deletions
|
@ -196,6 +196,9 @@ var Page = (function PageClosure() {
|
||||||
for (i = 0; i < n; ++i)
|
for (i = 0; i < n; ++i)
|
||||||
content[i] = xref.fetchIfRef(content[i]);
|
content[i] = xref.fetchIfRef(content[i]);
|
||||||
content = new StreamsSequenceStream(content);
|
content = new StreamsSequenceStream(content);
|
||||||
|
} else if (!content) {
|
||||||
|
// replacing non-existent page content with empty one
|
||||||
|
content = new Stream(new Uint8Array(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
var pe = this.pe = new PartialEvaluator(
|
var pe = this.pe = new PartialEvaluator(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue