summaryrefslogtreecommitdiff
path: root/xps/xps_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'xps/xps_xml.c')
-rw-r--r--xps/xps_xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xps_xml.c b/xps/xps_xml.c
index 8448ecef..5a564fbc 100644
--- a/xps/xps_xml.c
+++ b/xps/xps_xml.c
@@ -376,7 +376,7 @@ xml_parse_document(unsigned char *s, int n)
error = xml_parse_document_imp(&parser, p);
if (error) {
- fz_throw(error);
+ fz_error_make(error);
return NULL;
}