Changeset 204 for trunk/src/PDFDocument.cxx
- Timestamp:
- 06/10/06 04:36:58 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/PDFDocument.cxx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PDFDocument.cxx
r203 r204 86 86 { 87 87 PopplerActionGotoDest *actionGoTo = (PopplerActionGotoDest *)action; 88 int pageNum = 0;89 88 PopplerDest *destination = actionGoTo->dest; 89 int pageNum = destination->page_num; 90 #if defined (HAVE_POPPLER_0_5_2) 90 91 if ( POPPLER_DEST_NAMED == destination->type ) 91 92 { … … 99 100 } 100 101 } 101 else 102 { 103 pageNum = destination->page_num; 104 } 102 #endif // HAVE_POPPLER_0_5_2 105 103 106 104 documentLink = new DocumentLinkGoto ( … … 401 399 child->setTitle (actionGoTo->title); 402 400 PopplerDest *destination = actionGoTo->dest; 401 child->setDestination (destination->page_num); 402 #if defined (HAVE_POPPLER_0_5_2) 403 403 if ( POPPLER_DEST_NAMED == destination->type ) 404 404 { … … 413 413 } 414 414 } 415 else 416 { 417 child->setDestination (destination->page_num); 418 } 415 #endif // HAVE_POPPLER_0_5_2 419 416 420 417 outline->addChild (child);
