"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xpdf/Catalog.cc" between
xpdf-4.03.tar.gz and xpdf-4.04.tar.gz

About: Xpdf is a PDF viewer for X.

Catalog.cc  (xpdf-4.03):Catalog.cc  (xpdf-4.04)
skipping to change at line 626 skipping to change at line 626
pageObj.getTypeName()); pageObj.getTypeName());
pageObj.free(); pageObj.free();
pageRefObj.free(); pageRefObj.free();
pages[pg-1] = new Page(doc, pg); pages[pg-1] = new Page(doc, pg);
return; return;
} }
// merge the PageAttrs // merge the PageAttrs
attrs = new PageAttrs(node->parent ? node->parent->attrs attrs = new PageAttrs(node->parent ? node->parent->attrs
: (PageAttrs *)NULL, : (PageAttrs *)NULL,
pageObj.getDict()); pageObj.getDict(), xref);
// if "Kids" exists, it's an internal node // if "Kids" exists, it's an internal node
if (pageObj.dictLookup("Kids", &kidsObj)->isArray()) { if (pageObj.dictLookup("Kids", &kidsObj)->isArray()) {
// save the PageAttrs // save the PageAttrs
node->attrs = attrs; node->attrs = attrs;
// read the kids // read the kids
node->kids = new GList(); node->kids = new GList();
for (i = 0; i < kidsObj.arrayGetLength(); ++i) { for (i = 0; i < kidsObj.arrayGetLength(); ++i) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)