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/cbc_onecode.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/cbc_onecode.cpp')
-rw-r--r-- | xfa/fxbarcode/cbc_onecode.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxbarcode/cbc_onecode.cpp b/xfa/fxbarcode/cbc_onecode.cpp index 6fc68d88cd..55c2837bd4 100644 --- a/xfa/fxbarcode/cbc_onecode.cpp +++ b/xfa/fxbarcode/cbc_onecode.cpp @@ -27,7 +27,7 @@ CBC_OneCode::CBC_OneCode(CBC_Writer* pWriter) : CBC_CodeBase(pWriter) {} CBC_OneCode::~CBC_OneCode() {} -FX_BOOL CBC_OneCode::CheckContentValidity(const CFX_WideStringC& contents) { +bool CBC_OneCode::CheckContentValidity(const CFX_WideStringC& contents) { return m_pBCWriter && static_cast<CBC_OneDimWriter*>(m_pBCWriter.get()) ->CheckContentValidity(contents); @@ -40,7 +40,7 @@ CFX_WideString CBC_OneCode::FilterContents(const CFX_WideStringC& contents) { ->FilterContents(contents); } -void CBC_OneCode::SetPrintChecksum(FX_BOOL checksum) { +void CBC_OneCode::SetPrintChecksum(bool checksum) { if (m_pBCWriter) static_cast<CBC_OneDimWriter*>(m_pBCWriter.get()) ->SetPrintChecksum(checksum); @@ -51,15 +51,15 @@ void CBC_OneCode::SetDataLength(int32_t length) { static_cast<CBC_OneDimWriter*>(m_pBCWriter.get())->SetDataLength(length); } -void CBC_OneCode::SetCalChecksum(FX_BOOL calc) { +void CBC_OneCode::SetCalChecksum(bool calc) { if (m_pBCWriter) static_cast<CBC_OneDimWriter*>(m_pBCWriter.get())->SetCalcChecksum(calc); } -FX_BOOL CBC_OneCode::SetFont(CFX_Font* cFont) { +bool CBC_OneCode::SetFont(CFX_Font* cFont) { if (m_pBCWriter) return static_cast<CBC_OneDimWriter*>(m_pBCWriter.get())->SetFont(cFont); - return FALSE; + return false; } void CBC_OneCode::SetFontSize(FX_FLOAT size) { |