Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1090)

Unified Diff: xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp

Issue 2649563003: Replace CFX_ByteArray with CFX_ArrayTemplate<uint8_t> (Closed)
Patch Set: re-upload Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxbarcode/datamatrix/BC_DefaultPlacement.cpp ('k') | xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp
diff --git a/xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp b/xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp
index f52f0ff0c4bdba7a6acb899006e23dd376010382..7782830940737e2fae18d45ccdad34e2ca424c00 100644
--- a/xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp
+++ b/xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp
@@ -132,11 +132,11 @@ CFX_WideString CBC_ErrorCorrection::encodeECC200(CFX_WideString codewords,
BC_EXCEPTION_CHECK_ReturnValue(e, CFX_WideString());
sb += ecc;
} else {
- CFX_Int32Array dataSizes;
+ CFX_ArrayTemplate<int32_t> dataSizes;
dataSizes.SetSize(blockCount);
- CFX_Int32Array errorSizes;
+ CFX_ArrayTemplate<int32_t> errorSizes;
errorSizes.SetSize(blockCount);
- CFX_Int32Array startPos;
+ CFX_ArrayTemplate<int32_t> startPos;
startPos.SetSize(blockCount);
for (int32_t i = 0; i < blockCount; i++) {
dataSizes[i] = symbolInfo->getDataLengthForInterleavedBlock(i + 1);
« no previous file with comments | « xfa/fxbarcode/datamatrix/BC_DefaultPlacement.cpp ('k') | xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698