diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-07 16:32:47 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-08 17:21:24 +0200 |
commit | a2ee9c141864426708950c047d478ef7b9f0103c (patch) | |
tree | d60c268ebbfc7a190736b35004fb2fff8d184e38 /source/pdf/pdf-xobject.c | |
parent | 7340ec1d3602556a05e6d2e390f3b0e3f16246d9 (diff) | |
download | mupdf-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.c | 2 |
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; |