Commit 0fc2e705 authored by Albert Astals Cid's avatar Albert Astals Cid

Another small merge from xpdf 3.01

parent f8983ceb
2005-09-15 Albert Astals Cid <aacid@kde.org>
* poppler/: Some minor merges from xpdf 3.01
2005-09-14 Albert Astals Cid <aacid@kde.org>
* fofi/
* poppler/PSOutputDev.[cc|h]: Merge all xpdf 3.01 changes in fofi
......
......@@ -44,7 +44,7 @@ Outline::~Outline() {
//------------------------------------------------------------------------
OutlineItem::OutlineItem(Dict *dict, XRef *xrefA) {
Object obj1, obj2;
Object obj1;
GooString *s;
int i;
......@@ -79,10 +79,10 @@ OutlineItem::OutlineItem(Dict *dict, XRef *xrefA) {
action = LinkAction::parseDest(&obj1);
} else {
obj1.free();
dict->lookup("A", &obj1);
if (!obj1.isNull())
if (!dict->lookup("A", &obj1)->isNull()) {
action = LinkAction::parseAction(&obj1);
}
}
obj1.free();
dict->lookupNF("First", &firstRef);
......
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