| Index: xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp
|
| diff --git a/xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp b/xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp
|
| index e1d493a1ca5eff0e375a0b615ceac2e1d2465beb..7db117d00375fc06e9408352f70108a1329e2c0c 100644
|
| --- a/xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp
|
| +++ b/xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp
|
| @@ -89,8 +89,8 @@ void CBC_EdifactEncoder::handleEOD(CBC_EncoderContext& context,
|
| if (e != BCExceptionNO) {
|
| return;
|
| }
|
| - FX_BOOL endOfSymbolReached = !context.hasMoreCharacters();
|
| - FX_BOOL restInAscii = endOfSymbolReached && restChars <= 2;
|
| + bool endOfSymbolReached = !context.hasMoreCharacters();
|
| + bool restInAscii = endOfSymbolReached && restChars <= 2;
|
| if (restChars <= 2) {
|
| context.updateSymbolInfo(context.getCodewordCount() + restChars, e);
|
| if (e != BCExceptionNO) {
|
| @@ -99,7 +99,7 @@ void CBC_EdifactEncoder::handleEOD(CBC_EncoderContext& context,
|
| int32_t available =
|
| context.m_symbolInfo->m_dataCapacity - context.getCodewordCount();
|
| if (available >= 3) {
|
| - restInAscii = FALSE;
|
| + restInAscii = false;
|
| context.updateSymbolInfo(context.getCodewordCount() + encoded.GetLength(),
|
| e);
|
| if (e != BCExceptionNO) {
|
|
|