diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-02-18 16:31:31 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-02-18 16:32:14 +0000 |
commit | 9bb42182c7637e11bc2939fb359ab79365594202 (patch) | |
tree | 4483cde486308c2807722e84a8f3bfccf26456fc /devices/vector/gdevpdfm.c | |
parent | c00965e4c05f08ec000303d53942e846187eed1a (diff) | |
download | ghostpdl-9bb42182c7637e11bc2939fb359ab79365594202.tar.gz |
Update devices to return errors using return_error.
Diffstat (limited to 'devices/vector/gdevpdfm.c')
-rw-r--r-- | devices/vector/gdevpdfm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devices/vector/gdevpdfm.c b/devices/vector/gdevpdfm.c index b92a28bd1..d3effc58c 100644 --- a/devices/vector/gdevpdfm.c +++ b/devices/vector/gdevpdfm.c @@ -967,7 +967,7 @@ pdfmark_annot(gx_device_pdf * pdev, gs_param_string * pairs, uint count, case 2: emprintf(pdev->memory, "Annotation set to non-printing,\n not permitted in PDF/A, aborting conversion\n"); - return gs_error_invalidfont; + return_error(gs_error_invalidfont); break; default: emprintf(pdev->memory, @@ -1111,7 +1111,7 @@ pdfmark_annot(gx_device_pdf * pdev, gs_param_string * pairs, uint count, case 2: emprintf(pdev->memory, "Annotation (not TrapNet or PrinterMark) on page,\n not permitted in PDF/X, aborting conversion\n"); - return gs_error_invalidfont; + return_error(gs_error_invalidfont); break; default: emprintf(pdev->memory, @@ -1145,7 +1145,7 @@ pdfmark_annot(gx_device_pdf * pdev, gs_param_string * pairs, uint count, case 2: emprintf(pdev->memory, "Annotation (not TrapNet or PrinterMark) potentially on page (no /Rect in dict),\n not permitted in PDF/X, aborting conversion\n"); - return gs_error_invalidfont; + return_error(gs_error_invalidfont); break; default: emprintf(pdev->memory, |