summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-03-07 15:02:43 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-03-07 15:02:43 -0500
commit3b08a77ca0ff428c84b6d773c61d0f81259e51bb (patch)
tree4b58932f638e3e87266271579bb0379f7afd78ab /xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp
parent09ca162bb06543d914758db7e6387c250cef8a1b (diff)
downloadpdfium-3b08a77ca0ff428c84b6d773c61d0f81259e51bb.tar.xz
Remove _FX_WINAPI_PARTITION_APP_
This does not appear to ever be defined, removed. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1773753002 .
Diffstat (limited to 'xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp')
-rw-r--r--xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp b/xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp
index 61cacc1612..c719fb9e4f 100644
--- a/xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp
+++ b/xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp
@@ -49,12 +49,7 @@ void CBC_Base256Encoder::Encode(CBC_EncoderContext& context, int32_t& e) {
}
int32_t dataCount = buffer.GetLength() - 1;
FX_CHAR buf[128];
-#if defined(_FX_WINAPI_PARTITION_APP_)
- memset(buf, 0, sizeof(FX_CHAR) * 128);
- _itoa_s(dataCount, buf, 128, 10);
-#else
FXSYS_itoa(dataCount, buf, 10);
-#endif
buffer.SetAt(0, FX_WCHAR(*buf) - '0');
int32_t lengthFieldSize = 1;
int32_t currentSize =