diff options
Diffstat (limited to 'xps/xps_outline.c')
-rw-r--r-- | xps/xps_outline.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xps/xps_outline.c b/xps/xps_outline.c index 30357491..6bf7fd14 100644 --- a/xps/xps_outline.c +++ b/xps/xps_outline.c @@ -1,5 +1,4 @@ -#include "fitz.h" -#include "muxps.h" +#include "muxps-internal.h" /* * Parse the document structure / outline parts referenced from fixdoc relationships. @@ -35,7 +34,7 @@ xps_parse_document_outline(xps_document *doc, xml_element *root) entry->title = fz_strdup(doc->ctx, description); entry->dest.kind = FZ_LINK_GOTO; entry->dest.ld.gotor.flags = 0; - entry->dest.ld.gotor.page = xps_find_link_target(doc, target); + entry->dest.ld.gotor.page = xps_lookup_link_target(doc, target); entry->down = NULL; entry->next = NULL; |