diff options
author | tsepez <tsepez@chromium.org> | 2016-05-20 16:09:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-20 16:09:37 -0700 |
commit | 76852be59cbfdb22901b37bb8579d19c07af7037 (patch) | |
tree | 6c6c7798f62f089bc7d4720954ad2d07469582a5 /xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp | |
parent | 038aa531bcf1a76764d3cef46fd9b8e08b166dae (diff) | |
download | pdfium-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_SymbolInfo.cpp')
-rw-r--r-- | xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp b/xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp index 593f4cb162..d3d68541c4 100644 --- a/xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp +++ b/xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp @@ -228,28 +228,3 @@ int32_t CBC_SymbolInfo::getDataLengthForInterleavedBlock(int32_t index) { int32_t CBC_SymbolInfo::getErrorLengthForInterleavedBlock(int32_t index) { return m_rsBlockError; } -CFX_WideString CBC_SymbolInfo::toString(int32_t& e) { - CFX_WideString sb; - sb += (FX_WCHAR*)(m_rectangular ? "Rectangular Symbol:" : "Square Symbol:"); - sb += (FX_WCHAR*)" data region "; - sb += m_matrixWidth; - sb += (FX_WCHAR)'x'; - sb += m_matrixHeight; - sb += (FX_WCHAR*)", symbol size "; - sb += getSymbolWidth(e); - BC_EXCEPTION_CHECK_ReturnValue(e, (FX_WCHAR*)""); - sb += (FX_WCHAR)'x'; - sb += getSymbolHeight(e); - BC_EXCEPTION_CHECK_ReturnValue(e, (FX_WCHAR*)""); - sb += (FX_WCHAR*)", symbol data size "; - sb += getSymbolDataWidth(e); - BC_EXCEPTION_CHECK_ReturnValue(e, (FX_WCHAR*)""); - sb += (FX_WCHAR)'x'; - sb += getSymbolDataHeight(e); - BC_EXCEPTION_CHECK_ReturnValue(e, (FX_WCHAR*)""); - sb += (FX_WCHAR*)", codewords "; - sb += m_dataCapacity; - sb += (FX_WCHAR)'+'; - sb += m_errorCodewords; - return sb; -} |