Index: xfa/fwl/basewidget/fwl_barcodeimp.cpp |
diff --git a/xfa/fwl/basewidget/fwl_barcodeimp.cpp b/xfa/fwl/basewidget/fwl_barcodeimp.cpp |
index 610233e84eee8950018ca9a0f4fa29afa7233500..0ab2e1ed74aa486358829da701f63acb9b702caf 100644 |
--- a/xfa/fwl/basewidget/fwl_barcodeimp.cpp |
+++ b/xfa/fwl/basewidget/fwl_barcodeimp.cpp |
@@ -170,7 +170,7 @@ void CFWL_BarcodeImp::GenerateBarcodeImageCache() { |
m_pBarcodeEngine->SetTruncated(pData->GetTruncated()); |
} |
int32_t errorCode = 0; |
- m_dwStatus = m_pBarcodeEngine->Encode(wsText.AsWideStringC(), TRUE, errorCode) |
+ m_dwStatus = m_pBarcodeEngine->Encode(wsText.AsStringC(), TRUE, errorCode) |
? XFA_BCS_EncodeSuccess |
: 0; |
} |