summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-20 16:09:37 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-20 16:09:37 -0700
commit76852be59cbfdb22901b37bb8579d19c07af7037 (patch)
tree6c6c7798f62f089bc7d4720954ad2d07469582a5 /xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
parent038aa531bcf1a76764d3cef46fd9b8e08b166dae (diff)
downloadpdfium-76852be59cbfdb22901b37bb8579d19c07af7037.tar.xz
Fix /analyze warnings in fxbarcode/
Part of the fix to the issues in bug 613623. These are all real bugs arising from non-use of L""-style literals band-aided over with casts. Remove the casts, and fix the literals or replace with empty string constructors. BUG=613623, 427616 Review-Url: https://codereview.chromium.org/1999933002
Diffstat (limited to 'xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp')
-rw-r--r--xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp b/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
index 19672c1b71..5388244351 100644
--- a/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
+++ b/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp
@@ -78,7 +78,7 @@ CFX_WideString CBC_HighLevelEncoder::encodeHighLevel(CFX_WideString msg,
CBC_Dimension* maxSize,
int32_t& e) {
CBC_EncoderContext context(msg, ecLevel, e);
- BC_EXCEPTION_CHECK_ReturnValue(e, (FX_WCHAR*)"");
+ BC_EXCEPTION_CHECK_ReturnValue(e, CFX_WideString());
context.setSymbolShape(shape);
context.setSizeConstraints(minSize, maxSize);
if ((msg.Mid(0, 6) == MACRO_05_HEADER) &&