Commit 770b7310 authored by Kristian Høgsberg's avatar Kristian Høgsberg

Tue Apr 19 00:20:08 2005 Kristian Høgsberg <krh@redhat.com>

	* poppler/Catalog.cc: Fix from Marco to make sure we always
	initialize Catalog::pageLabelInfo.
parent 49c10d9f
Tue Apr 19 00:20:08 2005 Kristian Høgsberg <krh@redhat.com>
* poppler/Catalog.cc: Fix from Marco to make sure we always
initialize Catalog::pageLabelInfo.
Sat Apr 16 14:53:15 2005 Jonathan Blandford <jrb@redhat.com>
* glib/Makefile.am: Create poppler-enums.[ch]
......
......@@ -41,6 +41,7 @@ Catalog::Catalog(XRef *xrefA) {
pageRefs = NULL;
numPages = pagesSize = 0;
baseURI = NULL;
pageLabelInfo = NULL;
xref->getCatalog(&catDict);
if (!catDict.isDict()) {
......@@ -101,8 +102,6 @@ Catalog::Catalog(XRef *xrefA) {
if (catDict.dictLookup("PageLabels", &obj)->isDict())
pageLabelInfo = new PageLabelInfo(&obj, numPages);
else
pageLabelInfo = NULL;
obj.free();
// read page mode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment