aboutsummaryrefslogtreecommitdiffstats
path: root/fxbarcode/utils.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-11-17 01:23:29 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-11-17 01:23:29 +0000
commit0d4f5ca65f45c18b8496f53581f5f720f5024874 (patch)
tree495f85be2457509470e2eca98f9e64756e5b1f23 /fxbarcode/utils.h
parent301bfc6b1400fb47d1f8188a6e7c36324ecf41b3 (diff)
downloadplatform_external_pdfium-0d4f5ca65f45c18b8496f53581f5f720f5024874.tar.gz
platform_external_pdfium-0d4f5ca65f45c18b8496f53581f5f720f5024874.tar.bz2
platform_external_pdfium-0d4f5ca65f45c18b8496f53581f5f720f5024874.zip
Get rid of "exceptions" in CBC_Encoder::Encode().
Just return a boolean instead. Fix all Encode() impls. Also change Encode() to pass the context by pointer instead of by non-const ref. Change-Id: I1a97e5cf28d3b00f77accd386c1dc0e6f282288c Reviewed-on: https://pdfium-review.googlesource.com/c/45758 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxbarcode/utils.h')
-rw-r--r--fxbarcode/utils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fxbarcode/utils.h b/fxbarcode/utils.h
index 7b9bb5dc3..2ed6a0f9b 100644
--- a/fxbarcode/utils.h
+++ b/fxbarcode/utils.h
@@ -52,7 +52,6 @@ enum BCFORMAT {
#define BCExceptionCharactersOutsideISO88591Encoding 87
#define BCExceptionIllegalDataCodewords 88
#define BCExceptionIllegalStateUnexpectedCase 90
-#define BCExceptionIllegalStateMessageLengthInvalid 92
#define BCExceptionGeneric 107
#endif // FXBARCODE_UTILS_H_