diff options
author | tsepez <tsepez@chromium.org> | 2016-11-02 15:43:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-02 15:43:19 -0700 |
commit | d19e912dd469e4bdad9f3020e1f6eb98f10f3470 (patch) | |
tree | 239cb568a80445f14a1ab9b63dcaaddcce67e1cc /xfa/fxbarcode/pdf417/BC_PDF417.cpp | |
parent | 12f3e4a58f05850b93af35619cb04f0231d86acc (diff) | |
download | pdfium-d19e912dd469e4bdad9f3020e1f6eb98f10f3470.tar.xz |
Remove FX_BOOL from xfa.
Review-Url: https://codereview.chromium.org/2467203003
Diffstat (limited to 'xfa/fxbarcode/pdf417/BC_PDF417.cpp')
-rw-r--r-- | xfa/fxbarcode/pdf417/BC_PDF417.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxbarcode/pdf417/BC_PDF417.cpp b/xfa/fxbarcode/pdf417/BC_PDF417.cpp index 843ee23364..9d827acff6 100644 --- a/xfa/fxbarcode/pdf417/BC_PDF417.cpp +++ b/xfa/fxbarcode/pdf417/BC_PDF417.cpp @@ -381,9 +381,9 @@ const int32_t CBC_PDF417::CODEWORD_TABLE[][929] = { 0x10396, 0x107b6, 0x187d4, 0x187d2, 0x10794, 0x10fb4, 0x10792, 0x10fb2, 0x1c7ea}}; -CBC_PDF417::CBC_PDF417() : CBC_PDF417(FALSE) {} +CBC_PDF417::CBC_PDF417() : CBC_PDF417(false) {} -CBC_PDF417::CBC_PDF417(FX_BOOL compact) +CBC_PDF417::CBC_PDF417(bool compact) : m_compact(compact), m_compaction(AUTO), m_minCols(1), @@ -451,7 +451,7 @@ void CBC_PDF417::setCompaction(Compaction compaction) { m_compaction = compaction; } -void CBC_PDF417::setCompact(FX_BOOL compact) { +void CBC_PDF417::setCompact(bool compact) { m_compact = compact; } @@ -475,10 +475,10 @@ void CBC_PDF417::encodeChar(int32_t pattern, int32_t len, CBC_BarcodeRow* logic) { int32_t map = 1 << (len - 1); - FX_BOOL last = ((pattern & map) != 0); + bool last = ((pattern & map) != 0); int32_t width = 0; for (int32_t i = 0; i < len; i++) { - FX_BOOL black = ((pattern & map) != 0); + bool black = ((pattern & map) != 0); if (last == black) { width++; } else { |