From e93dbd6c18b8b58e5d6b4813052fafbc323e9692 Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 27 Oct 2016 13:10:24 -0700 Subject: Fix some FX_BOOL / int noise in XFA barcodes Review-Url: https://codereview.chromium.org/2447163007 --- xfa/fxbarcode/oned/BC_OneDimWriter.cpp | 2 +- xfa/fxbarcode/oned/BC_OneDimWriter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fxbarcode/oned') diff --git a/xfa/fxbarcode/oned/BC_OneDimWriter.cpp b/xfa/fxbarcode/oned/BC_OneDimWriter.cpp index 72c956ac11..cb145f52ed 100644 --- a/xfa/fxbarcode/oned/BC_OneDimWriter.cpp +++ b/xfa/fxbarcode/oned/BC_OneDimWriter.cpp @@ -58,7 +58,7 @@ void CBC_OneDimWriter::SetDataLength(int32_t length) { m_iDataLenth = length; } -void CBC_OneDimWriter::SetCalcChecksum(int32_t state) { +void CBC_OneDimWriter::SetCalcChecksum(FX_BOOL state) { m_bCalcChecksum = state; } diff --git a/xfa/fxbarcode/oned/BC_OneDimWriter.h b/xfa/fxbarcode/oned/BC_OneDimWriter.h index 432c91fbe2..16d02e903d 100644 --- a/xfa/fxbarcode/oned/BC_OneDimWriter.h +++ b/xfa/fxbarcode/oned/BC_OneDimWriter.h @@ -54,7 +54,7 @@ class CBC_OneDimWriter : public CBC_Writer { virtual CFX_WideString RenderTextContents(const CFX_WideStringC& contents); virtual void SetPrintChecksum(FX_BOOL checksum); virtual void SetDataLength(int32_t length); - virtual void SetCalcChecksum(int32_t state); + virtual void SetCalcChecksum(FX_BOOL state); virtual void SetFontSize(FX_FLOAT size); virtual void SetFontStyle(int32_t style); virtual void SetFontColor(FX_ARGB color); -- cgit v1.2.3