| Index: xfa/fwl/core/ifwl_barcode.cpp
|
| diff --git a/xfa/fwl/core/ifwl_barcode.cpp b/xfa/fwl/core/ifwl_barcode.cpp
|
| index e708e7ed5329fc9cf815dc3da3673452fa268e9c..9495dd96b533d55d9f5c0a39fd0c03f35af557d2 100644
|
| --- a/xfa/fwl/core/ifwl_barcode.cpp
|
| +++ b/xfa/fwl/core/ifwl_barcode.cpp
|
| @@ -135,7 +135,7 @@ void IFWL_Barcode::GenerateBarcodeImageCache() {
|
| m_pBarcodeEngine->SetTruncated(pData->GetTruncated());
|
| }
|
| int32_t errorCode = 0;
|
| - m_dwStatus = m_pBarcodeEngine->Encode(wsText.AsStringC(), TRUE, errorCode)
|
| + m_dwStatus = m_pBarcodeEngine->Encode(wsText.AsStringC(), true, errorCode)
|
| ? XFA_BCS_EncodeSuccess
|
| : 0;
|
| }
|
| @@ -162,16 +162,16 @@ FWL_Error IFWL_Barcode::SetText(const CFX_WideString& wsText) {
|
| m_dwStatus = XFA_BCS_NeedUpdate;
|
| return IFWL_Edit::SetText(wsText);
|
| }
|
| -FX_BOOL IFWL_Barcode::IsProtectedType() {
|
| +bool IFWL_Barcode::IsProtectedType() {
|
| if (!m_pBarcodeEngine) {
|
| - return TRUE;
|
| + return true;
|
| }
|
| BC_TYPE tEngineType = m_pBarcodeEngine->GetType();
|
| if (tEngineType == BC_QR_CODE || tEngineType == BC_PDF417 ||
|
| tEngineType == BC_DATAMATRIX) {
|
| - return TRUE;
|
| + return true;
|
| }
|
| - return FALSE;
|
| + return false;
|
| }
|
|
|
| void IFWL_Barcode::OnProcessEvent(CFWL_Event* pEvent) {
|
|
|