From 7d56fb4cbf789caf2e833afbb4b6799b53e38688 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Fri, 24 Sep 2021 12:38:16 +0200 Subject: [PATCH] Mark the `paintJpegXObject` operator as deprecated (PR 11601 follow-up) After PR 11601, the `paintJpegXObject` operator is no longer used for anything. While I don't think we can just remove it, and essentially leave a "hole" in the `OPS` structure, we should at least mark it as explicitly unused to aid readability/maintainability of the code. --- src/shared/util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/util.js b/src/shared/util.js index d893e398e..2afaa1674 100644 --- a/src/shared/util.js +++ b/src/shared/util.js @@ -328,6 +328,7 @@ const OPS = { endAnnotations: 79, beginAnnotation: 80, endAnnotation: 81, + /** @deprecated unused */ paintJpegXObject: 82, paintImageMaskXObject: 83, paintImageMaskXObjectGroup: 84,