diff options
Diffstat (limited to 'fxbarcode')
-rw-r--r-- | fxbarcode/oned/BC_OnedCode128Writer.cpp | 2 | ||||
-rw-r--r-- | fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fxbarcode/oned/BC_OnedCode128Writer.cpp b/fxbarcode/oned/BC_OnedCode128Writer.cpp index ad94d296ec..7a162803af 100644 --- a/fxbarcode/oned/BC_OnedCode128Writer.cpp +++ b/fxbarcode/oned/BC_OnedCode128Writer.cpp @@ -78,7 +78,7 @@ const int32_t CODE_STOP = 106; CBC_OnedCode128Writer::CBC_OnedCode128Writer(BC_TYPE type) : m_codeFormat(type) { - assert(m_codeFormat == BC_CODE128_B || m_codeFormat == BC_CODE128_C); + ASSERT(m_codeFormat == BC_CODE128_B || m_codeFormat == BC_CODE128_C); } CBC_OnedCode128Writer::~CBC_OnedCode128Writer() = default; diff --git a/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp b/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp index ade3eb584d..4ca40ef045 100644 --- a/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp +++ b/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp @@ -135,8 +135,8 @@ bool CBC_PDF417ErrorCorrection::generateErrorCorrection( const WideString& dataCodewords, int32_t errorCorrectionLevel, WideString* result) { - assert(result); - assert(result->IsEmpty()); + ASSERT(result); + ASSERT(result->IsEmpty()); int32_t k = getErrorCorrectionCodewordCount(errorCorrectionLevel); if (k < 0) |