summaryrefslogtreecommitdiff
path: root/source/xps
diff options
context:
space:
mode:
Diffstat (limited to 'source/xps')
-rw-r--r--source/xps/xps-doc.c4
-rw-r--r--source/xps/xps-glyphs.c4
-rw-r--r--source/xps/xps-image.c4
-rw-r--r--source/xps/xps-outline.c2
-rw-r--r--source/xps/xps-resource.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/source/xps/xps-doc.c b/source/xps/xps-doc.c
index 9953cb37..097392e8 100644
--- a/source/xps/xps-doc.c
+++ b/source/xps/xps-doc.c
@@ -414,7 +414,7 @@ xps_read_page_list(xps_document *doc)
}
fz_catch(doc->ctx)
{
- /* FIXME: TryLater ? */
+ fz_rethrow_if(doc->ctx, FZ_ERROR_TRYLATER);
fz_warn(doc->ctx, "cannot process FixedDocument rels part");
}
xps_read_and_process_metadata_part(doc, fixdoc->name, fixdoc);
@@ -447,7 +447,7 @@ xps_load_fixed_page(xps_document *doc, xps_page *page)
}
fz_catch(ctx)
{
- /* FIXME: TryLater ? */
+ fz_rethrow_if(ctx, FZ_ERROR_TRYLATER);
root = NULL;
}
if (!root)
diff --git a/source/xps/xps-glyphs.c b/source/xps/xps-glyphs.c
index 72f37ca1..52cc0042 100644
--- a/source/xps/xps-glyphs.c
+++ b/source/xps/xps-glyphs.c
@@ -510,7 +510,7 @@ xps_parse_glyphs(xps_document *doc, const fz_matrix *ctm,
}
fz_catch(doc->ctx)
{
- /* FIXME: TryLater ? */
+ fz_rethrow_if(doc->ctx, FZ_ERROR_TRYLATER);
fz_warn(doc->ctx, "cannot find font resource part '%s'", partname);
return;
}
@@ -527,7 +527,7 @@ xps_parse_glyphs(xps_document *doc, const fz_matrix *ctm,
}
fz_catch(doc->ctx)
{
- /* FIXME: TryLater ? */
+ fz_rethrow_if(doc->ctx, FZ_ERROR_TRYLATER);
fz_warn(doc->ctx, "cannot load font resource '%s'", partname);
xps_free_part(doc, part);
return;
diff --git a/source/xps/xps-image.c b/source/xps/xps-image.c
index eb0d876f..cff7860d 100644
--- a/source/xps/xps-image.c
+++ b/source/xps/xps-image.c
@@ -102,7 +102,7 @@ xps_parse_image_brush(xps_document *doc, const fz_matrix *ctm, const fz_rect *ar
}
fz_catch(doc->ctx)
{
- /* FIXME: TryLater ? */
+ fz_rethrow_if(doc->ctx, FZ_ERROR_TRYLATER);
fz_warn(doc->ctx, "cannot find image source");
return;
}
@@ -117,7 +117,7 @@ xps_parse_image_brush(xps_document *doc, const fz_matrix *ctm, const fz_rect *ar
}
fz_catch(doc->ctx)
{
- /* FIXME: TryLater ? */
+ fz_rethrow_if(doc->ctx, FZ_ERROR_TRYLATER);
fz_warn(doc->ctx, "cannot decode image resource");
return;
}
diff --git a/source/xps/xps-outline.c b/source/xps/xps-outline.c
index b87460a4..d8b573a9 100644
--- a/source/xps/xps-outline.c
+++ b/source/xps/xps-outline.c
@@ -131,7 +131,7 @@ xps_load_outline(xps_document *doc)
}
fz_catch(doc->ctx)
{
- /* FIXME: TryLater ? */
+ fz_rethrow_if(doc->ctx, FZ_ERROR_TRYLATER);
outline = NULL;
}
if (!outline)
diff --git a/source/xps/xps-resource.c b/source/xps/xps-resource.c
index 5c927e1d..ef699619 100644
--- a/source/xps/xps-resource.c
+++ b/source/xps/xps-resource.c
@@ -75,7 +75,7 @@ xps_parse_remote_resource_dictionary(xps_document *doc, char *base_uri, char *so
}
fz_catch(ctx)
{
- /* FIXME: TryLater ? */
+ fz_rethrow_if(ctx, FZ_ERROR_TRYLATER);
xml = NULL;
}