Index: xfa/fxbarcode/cbc_code128.cpp |
diff --git a/xfa/fxbarcode/cbc_code128.cpp b/xfa/fxbarcode/cbc_code128.cpp |
index 2f7be931408fa4cb578ba0e0962fa516475506df..93417b4e16e6930526ae3a4cce68f55665f26718 100644 |
--- a/xfa/fxbarcode/cbc_code128.cpp |
+++ b/xfa/fxbarcode/cbc_code128.cpp |
@@ -103,5 +103,5 @@ CFX_WideString CBC_Code128::Decode(CFX_DIBitmap* pBitmap, int32_t& e) { |
CBC_BinaryBitmap bitmap(&binarizer); |
CFX_ByteString str = m_pBCReader->Decode(&bitmap, 0, e); |
BC_EXCEPTION_CHECK_ReturnValue(e, FX_WSTRC(L"")); |
- return CFX_WideString::FromUTF8(str, str.GetLength()); |
+ return CFX_WideString::FromUTF8(str.AsByteStringC()); |
} |