diff options
author | Lei Zhang <thestig@chromium.org> | 2017-04-27 23:58:03 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-28 19:12:30 +0000 |
commit | 60cd033adf6c469ff47bdaf85a66b5817fdd188b (patch) | |
tree | a91b3cee7aaeb0dc650fd857bfd3476da848eacf /fxbarcode/pdf417/BC_PDF417.h | |
parent | 7831f57f04ad3f581222b0a23eeb736601f98e96 (diff) | |
download | pdfium-60cd033adf6c469ff47bdaf85a66b5817fdd188b.tar.xz |
Remove dead dimensions code in fxbarcode.chromium/3084
Remove more exceptions.
Change-Id: I3b8b8b9837b0010b1e0060ddd56e93c78f9f0fb5
Reviewed-on: https://pdfium-review.googlesource.com/4410
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/pdf417/BC_PDF417.h')
-rw-r--r-- | fxbarcode/pdf417/BC_PDF417.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/fxbarcode/pdf417/BC_PDF417.h b/fxbarcode/pdf417/BC_PDF417.h index bc36ea5037..f5ca2de60f 100644 --- a/fxbarcode/pdf417/BC_PDF417.h +++ b/fxbarcode/pdf417/BC_PDF417.h @@ -23,9 +23,7 @@ class CBC_PDF417 { virtual ~CBC_PDF417(); CBC_BarcodeMatrix* getBarcodeMatrix(); - void generateBarcodeLogic(CFX_WideString msg, - int32_t errorCorrectionLevel, - int32_t& e); + bool generateBarcodeLogic(CFX_WideString msg, int32_t errorCorrectionLevel); void setDimensions(int32_t maxCols, int32_t minCols, int32_t maxRows, @@ -52,9 +50,9 @@ class CBC_PDF417 { int32_t r, int32_t errorCorrectionLevel, CBC_BarcodeMatrix* logic); - std::vector<int32_t>* determineDimensions(int32_t sourceCodeWords, - int32_t errorCorrectionCodeWords, - int32_t& e); + std::vector<int32_t> determineDimensions( + int32_t sourceCodeWords, + int32_t errorCorrectionCodeWords) const; std::unique_ptr<CBC_BarcodeMatrix> m_barcodeMatrix; bool m_compact; |