Index: xfa/fxbarcode/cbc_codabar.cpp |
diff --git a/xfa/fxbarcode/cbc_codabar.cpp b/xfa/fxbarcode/cbc_codabar.cpp |
index d03890409503b1e845333f2113519c88c17d8f53..ae2b1f2ba216573ce58461baab1710618e102fdc 100644 |
--- a/xfa/fxbarcode/cbc_codabar.cpp |
+++ b/xfa/fxbarcode/cbc_codabar.cpp |
@@ -120,5 +120,5 @@ CFX_WideString CBC_Codabar::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()); |
} |