diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-04-07 17:07:41 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-04-07 17:07:41 +0200 |
commit | 30252bb78a1a91e4913d2a785cdf83c0837c6e95 (patch) | |
tree | 83a62b221fc58754eda361c5745fa1abf9ef78d7 /source | |
parent | da64f5f63c0d263e5edd6d8b4ace6a4146a72c84 (diff) | |
download | mupdf-30252bb78a1a91e4913d2a785cdf83c0837c6e95.tar.xz |
Fix whitespace.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/draw-device.c | 2 | ||||
-rw-r--r-- | source/fitz/draw-edge.c | 1 | ||||
-rw-r--r-- | source/fitz/store.c | 1 | ||||
-rw-r--r-- | source/fitz/trace-device.c | 1 | ||||
-rw-r--r-- | source/pdf/pdf-appearance.c | 1 | ||||
-rw-r--r-- | source/pdf/pdf-object.c | 5 | ||||
-rw-r--r-- | source/pdf/pdf-pkcs7.c | 1 | ||||
-rw-r--r-- | source/pdf/pdf-run.c | 1 | ||||
-rw-r--r-- | source/tools/mudraw.c | 1 |
9 files changed, 1 insertions, 13 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index fad44050..b2819a0b 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -99,7 +99,6 @@ static void stack_change(fz_context *ctx, fz_draw_device *dev, char *s) #define STACK_CONVERT(A) do {} while (0) #endif - static void fz_grow_stack(fz_context *ctx, fz_draw_device *dev) { int max = dev->stack_cap * 2; @@ -511,7 +510,6 @@ fz_draw_clip_stroke_path(fz_context *ctx, fz_device *devp, fz_path *path, const } } - static void draw_glyph(unsigned char *colorbv, fz_pixmap *dst, fz_glyph *glyph, int xorig, int yorig, const fz_irect *scissor) diff --git a/source/fitz/draw-edge.c b/source/fitz/draw-edge.c index c53548ab..8bc87608 100644 --- a/source/fitz/draw-edge.c +++ b/source/fitz/draw-edge.c @@ -504,7 +504,6 @@ fz_sort_gel(fz_context *ctx, fz_gel *gel) int h, i, k; fz_edge t; - /* quick sort for long lists */ if (n > 10000) { diff --git a/source/fitz/store.c b/source/fitz/store.c index dd1cb784..ce83e87f 100644 --- a/source/fitz/store.c +++ b/source/fitz/store.c @@ -653,4 +653,3 @@ fz_shrink_store(fz_context *ctx, unsigned int percent) return success; } - diff --git a/source/fitz/trace-device.c b/source/fitz/trace-device.c index 105f7e6b..5ea716b4 100644 --- a/source/fitz/trace-device.c +++ b/source/fitz/trace-device.c @@ -70,7 +70,6 @@ trace_close(fz_context *ctx, void *arg) printf("<closepath/>\n"); } - static const fz_path_processor trace_path_proc = { trace_moveto, diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c index ce533cf4..b0fa2207 100644 --- a/source/pdf/pdf-appearance.c +++ b/source/pdf/pdf-appearance.c @@ -1640,7 +1640,6 @@ void pdf_update_ink_appearance(fz_context *ctx, pdf_document *doc, pdf_annot *an rect.y1 += width; } - fz_transform_rect(&rect, page_ctm); pdf_set_annot_appearance(ctx, doc, annot, &rect, strike_list); } diff --git a/source/pdf/pdf-object.c b/source/pdf/pdf-object.c index 2a7ab618..f6c10b63 100644 --- a/source/pdf/pdf-object.c +++ b/source/pdf/pdf-object.c @@ -95,7 +95,6 @@ typedef struct pdf_obj_ref_s #define ARRAY(obj) ((pdf_obj_array *)(obj)) #define REF(obj) ((pdf_obj_ref *)(obj)) - pdf_obj * pdf_new_null(fz_context *ctx, pdf_document *doc) { @@ -1031,7 +1030,6 @@ pdf_dict_finds(fz_context *ctx, pdf_obj *obj, const char *key, int *location) if (strcmp(pdf_to_name(ctx, DICT(obj)->items[i].k), key) == 0) return i; - if (location) *location = DICT(obj)->len; } @@ -1166,7 +1164,6 @@ pdf_dict_getl(fz_context *ctx, pdf_obj *obj, ...) return obj; } - pdf_obj * pdf_dict_get(fz_context *ctx, pdf_obj *obj, pdf_obj *key) { @@ -1286,7 +1283,7 @@ pdf_dict_puts(fz_context *ctx, pdf_obj *obj, const char *key, pdf_obj *val) { pdf_document *doc; pdf_obj *keyobj; - + RESOLVE(obj); if (obj < PDF_OBJ__LIMIT || obj->kind != PDF_DICT) fz_throw(ctx, FZ_ERROR_GENERIC, "not a dictionary (%s)", pdf_objkindstr(obj)); diff --git a/source/pdf/pdf-pkcs7.c b/source/pdf/pdf-pkcs7.c index 93abd474..8feb07bb 100644 --- a/source/pdf/pdf-pkcs7.c +++ b/source/pdf/pdf-pkcs7.c @@ -361,7 +361,6 @@ void pdf_drop_designated_name(fz_context *ctx, pdf_designated_name *dn) fz_free(ctx, dn); } - static void add_from_bags(X509 **pX509, EVP_PKEY **pPkey, STACK_OF(PKCS12_SAFEBAG) *bags, const char *pw); static void add_from_bag(X509 **pX509, EVP_PKEY **pPkey, PKCS12_SAFEBAG *bag, const char *pw) diff --git a/source/pdf/pdf-run.c b/source/pdf/pdf-run.c index 57807cc2..65460e2a 100644 --- a/source/pdf/pdf-run.c +++ b/source/pdf/pdf-run.c @@ -69,7 +69,6 @@ void pdf_run_page_contents(fz_context *ctx, pdf_page *page, fz_device *dev, cons fz_throw(ctx, FZ_ERROR_TRYLATER, "incomplete rendering"); } - void pdf_run_annot(fz_context *ctx, pdf_page *page, pdf_annot *annot, fz_device *dev, const fz_matrix *ctm, fz_cookie *cookie) { pdf_document *doc = page->doc; diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c index 75e32e5c..d60101b5 100644 --- a/source/tools/mudraw.c +++ b/source/tools/mudraw.c @@ -302,7 +302,6 @@ static void drawpage(fz_context *ctx, fz_document *doc, int pagenum) printf(" %s", iscolor ? "color" : "grayscale"); } - if (output_format == OUT_TRACE) { fz_try(ctx) |