Merge pull request #9988 from Snuffleupagus/rm-mainXRefEntriesOffset
Remove the unused `PDFDocument.mainXRefEntriesOffset` method
This commit is contained in:
commit
88e87ce240
@ -487,15 +487,7 @@ var PDFDocument = (function PDFDocumentClosure() {
|
|||||||
// shadow the prototype getter with a data property
|
// shadow the prototype getter with a data property
|
||||||
return shadow(this, 'startXRef', startXRef);
|
return shadow(this, 'startXRef', startXRef);
|
||||||
},
|
},
|
||||||
get mainXRefEntriesOffset() {
|
|
||||||
var mainXRefEntriesOffset = 0;
|
|
||||||
var linearization = this.linearization;
|
|
||||||
if (linearization) {
|
|
||||||
mainXRefEntriesOffset = linearization.mainXRefEntriesOffset;
|
|
||||||
}
|
|
||||||
// shadow the prototype getter with a data property
|
|
||||||
return shadow(this, 'mainXRefEntriesOffset', mainXRefEntriesOffset);
|
|
||||||
},
|
|
||||||
// Find the header, remove leading garbage and setup the stream
|
// Find the header, remove leading garbage and setup the stream
|
||||||
// starting from the header.
|
// starting from the header.
|
||||||
checkHeader: function PDFDocument_checkHeader() {
|
checkHeader: function PDFDocument_checkHeader() {
|
||||||
|
Loading…
Reference in New Issue
Block a user