diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-24 13:39:26 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-27 15:12:03 +0200 |
commit | 9a725130b9b16daa332f8502e24eac9cab4cf9b2 (patch) | |
tree | 2068a7fde1f170411f90674049b902dc06ecaa13 /source/xps/xps-doc.c | |
parent | af7461adcd082d60276b747eda66fec2684f3701 (diff) | |
download | mupdf-9a725130b9b16daa332f8502e24eac9cab4cf9b2.tar.xz |
Remove debug printing code.
It's not used, so prone to bit rot. Better to purge it.
Diffstat (limited to 'source/xps/xps-doc.c')
-rw-r--r-- | source/xps/xps-doc.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/source/xps/xps-doc.c b/source/xps/xps-doc.c index d13e8fb0..95be593f 100644 --- a/source/xps/xps-doc.c +++ b/source/xps/xps-doc.c @@ -37,28 +37,6 @@ xps_rels_for_part(fz_context *ctx, xps_document *doc, char *buf, char *name, int * which parts correspond to actual pages, and the page order. */ -void -xps_print_page_list(fz_context *ctx, xps_document *doc) -{ - xps_fixdoc *fixdoc = doc->first_fixdoc; - xps_fixpage *page = doc->first_page; - - if (doc->start_part) - printf("start part %s\n", doc->start_part); - - while (fixdoc) - { - printf("fixdoc %s\n", fixdoc->name); - fixdoc = fixdoc->next; - } - - while (page) - { - printf("page[%d] %s w=%d h=%d\n", page->number, page->name, page->width, page->height); - page = page->next; - } -} - static void xps_add_fixed_document(fz_context *ctx, xps_document *doc, char *name) { |