summaryrefslogtreecommitdiff
path: root/source/svg
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-01-19 02:08:49 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-03-28 15:53:56 +0200
commit4918560f7dd434fa5489d4efc442d70835668650 (patch)
treeea14522f16916eac0d83f837ba8bfffbcf6f0bbc /source/svg
parent161a77db42e306216b5493cf8f8e739053eb86d2 (diff)
downloadmupdf-4918560f7dd434fa5489d4efc442d70835668650.tar.xz
Return fz_document from all document handlers.
To make it possible to avoid casting in most cases.
Diffstat (limited to 'source/svg')
-rw-r--r--source/svg/svg-doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/svg/svg-doc.c b/source/svg/svg-doc.c
index 6e127d75..c7f8add8 100644
--- a/source/svg/svg-doc.c
+++ b/source/svg/svg-doc.c
@@ -172,7 +172,7 @@ fz_new_image_from_svg(fz_context *ctx, fz_buffer *buf)
fz_document_handler svg_document_handler =
{
- &svg_recognize,
+ svg_recognize,
NULL,
- &svg_open_document_with_stream
+ svg_open_document_with_stream
};