summaryrefslogtreecommitdiff
path: root/xps
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-01 16:02:09 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-01 16:02:09 +0200
commitd2250034a7e629455b9bfbf735473ea39638a701 (patch)
tree5d5cedf0e6447a75162d9ef1b89309e911740227 /xps
parent6192f4c4fdec838fd5ef86a17517d615d7ff16ca (diff)
downloadmupdf-d2250034a7e629455b9bfbf735473ea39638a701.tar.xz
Use a function pointer for resolveindirect.
This removes a static dependency between fitz and mupdf. Fitz should now be link time independent of mupdf again.
Diffstat (limited to 'xps')
-rw-r--r--xps/xpstop.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xps/xpstop.c b/xps/xpstop.c
index 2ae1d585..921d677a 100644
--- a/xps/xpstop.c
+++ b/xps/xpstop.c
@@ -21,12 +21,6 @@ fz_colorspace *colorspace;
fz_glyphcache *glyphcache;
char *filename;
-/* stub function for automatic resolution of indirect objects in obj_simple.c */
-int pdf_cacheobject(struct pdf_xref_s *xref, int num, int gen)
-{
- return fz_throw("not a pdf");
-}
-
struct {
int count, total;
int min, max;