summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-xobject.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-07-07 16:32:47 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-07-08 17:21:24 +0200
commita2ee9c141864426708950c047d478ef7b9f0103c (patch)
treed60c268ebbfc7a190736b35004fb2fff8d184e38 /source/pdf/pdf-xobject.c
parent7340ec1d3602556a05e6d2e390f3b0e3f16246d9 (diff)
downloadmupdf-a2ee9c141864426708950c047d478ef7b9f0103c.tar.xz
Slim pdf_xobject: remove cached document field.
Diffstat (limited to 'source/pdf/pdf-xobject.c')
-rw-r--r--source/pdf/pdf-xobject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/pdf/pdf-xobject.c b/source/pdf/pdf-xobject.c
index 7eb4552f..e38be70e 100644
--- a/source/pdf/pdf-xobject.c
+++ b/source/pdf/pdf-xobject.c
@@ -87,7 +87,6 @@ pdf_load_xobject(fz_context *ctx, pdf_document *doc, pdf_obj *dict)
form = fz_malloc_struct(ctx, pdf_xobject);
FZ_INIT_STORABLE(form, 1, pdf_drop_xobject_imp);
- form->document = doc;
form->colorspace = NULL;
form->obj = NULL;
form->iteration = 0;
@@ -164,7 +163,6 @@ pdf_new_xobject(fz_context *ctx, pdf_document *doc, const fz_rect *bbox, const f
form = fz_malloc_struct(ctx, pdf_xobject);
FZ_INIT_STORABLE(form, 1, pdf_drop_xobject_imp);
- form->document = doc;
form->colorspace = NULL;
form->obj = NULL;
form->iteration = 0;