diff --git a/src/core/obj.js b/src/core/obj.js index 8d6145235..9c2c77ffd 100644 --- a/src/core/obj.js +++ b/src/core/obj.js @@ -419,7 +419,7 @@ var Catalog = (function CatalogClosure() { var xref = this.xref; var dests = {}, nameTreeRef, nameDictionaryRef; var obj = this.catDict.get('Names'); - if (obj) { + if (obj && obj.has('Dests')) { nameTreeRef = obj.getRaw('Dests'); } else if (this.catDict.has('Dests')) { nameDictionaryRef = this.catDict.get('Dests');