summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-xref.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-04-26 14:30:32 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-04-27 15:12:03 +0200
commitcabf4489896a2a978361eb6e1df4b4aef81193f4 (patch)
tree42c304158abc24dcec776b1a38f14f4db6eaa95f /source/pdf/pdf-xref.c
parent2208034206c6085fa07063bcc6fdc834d6472912 (diff)
downloadmupdf-cabf4489896a2a978361eb6e1df4b4aef81193f4.tar.xz
Move fz_outline and pdf_xref debug printing to pdfshow.c
That's where it's actually being used.
Diffstat (limited to 'source/pdf/pdf-xref.c')
-rw-r--r--source/pdf/pdf-xref.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c
index 2fa6ffc9..2b1513fe 100644
--- a/source/pdf/pdf-xref.c
+++ b/source/pdf/pdf-xref.c
@@ -1550,24 +1550,6 @@ pdf_drop_document(fz_context *ctx, pdf_document *doc)
fz_drop_document(ctx, &doc->super);
}
-void
-pdf_print_xref(fz_context *ctx, pdf_document *doc)
-{
- int i;
- int xref_len = pdf_xref_len(ctx, doc);
- printf("xref\n0 %d\n", xref_len);
- for (i = 0; i < xref_len; i++)
- {
- pdf_xref_entry *entry = pdf_get_xref_entry(ctx, doc, i);
- printf("%05d: %010d %05d %c (stm_ofs=%d; stm_buf=%p)\n", i,
- (int)entry->ofs,
- entry->gen,
- entry->type ? entry->type : '-',
- (int)entry->stm_ofs,
- entry->stm_buf);
- }
-}
-
/*
* compressed object streams
*/