summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-17 10:37:41 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-17 10:37:41 -0800
commit1871821653de9f4b1706d726f4d318cf739e55af (patch)
tree20e58a8f34ced5656e4a8d26d813737b2810e9f8 /xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp
parentfc75136232f1979217d7597b2c9c5966436eb1e1 (diff)
downloadpdfium-1871821653de9f4b1706d726f4d318cf739e55af.tar.xz
Remove FDE_Alloc in favor of FX_Alloc.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1521163002 .
Diffstat (limited to 'xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp')
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp b/xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp
index e66df05445..0e38ab283b 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp
+++ b/xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp
@@ -169,9 +169,6 @@ void CBC_OnedEAN13Writer::ShowChars(const CFX_WideStringC& contents,
CFX_ByteString str = FX_UTF8Encode(contents);
int32_t iLen = str.GetLength();
FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen);
- if (!pCharPos) {
- return;
- }
FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen);
CFX_FxgeDevice geBitmap;
if (pOutBitmap != NULL) {