diff options
Diffstat (limited to 'xfa/fxbarcode/cbc_code128.cpp')
-rw-r--r-- | xfa/fxbarcode/cbc_code128.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxbarcode/cbc_code128.cpp b/xfa/fxbarcode/cbc_code128.cpp index 2f7be93140..93417b4e16 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()); } |