From 9b66be814c4a3cfad8c198a2d0c7fc81ac6508de Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sat, 15 Oct 2016 01:54:56 +0800 Subject: Move headers to make xps_document an internal type. --- source/xps/xps-doc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/xps/xps-doc.c') diff --git a/source/xps/xps-doc.c b/source/xps/xps-doc.c index 457b2d6b..d530bdbd 100644 --- a/source/xps/xps-doc.c +++ b/source/xps/xps-doc.c @@ -1,4 +1,5 @@ -#include "mupdf/xps.h" +#include "mupdf/fitz.h" +#include "xps-imp.h" #define REL_START_PART \ "http://schemas.microsoft.com/xps/2005/06/fixedrepresentation" @@ -405,7 +406,7 @@ xps_load_fixed_page(fz_context *ctx, xps_document *doc, xps_fixpage *page) return root; } -fz_rect * +static fz_rect * xps_bound_page(fz_context *ctx, xps_page *page, fz_rect *bounds) { bounds->x0 = bounds->y0 = 0; -- cgit v1.2.3