Index: xfa/fxfa/app/xfa_ffbarcode.cpp |
diff --git a/xfa/fxfa/app/xfa_ffbarcode.cpp b/xfa/fxfa/app/xfa_ffbarcode.cpp |
index 5987627f7fc9b8028c74410474bcdccb708b87f9..567882d54638d72990835e7e6c5c0c3ffaff83e9 100644 |
--- a/xfa/fxfa/app/xfa_ffbarcode.cpp |
+++ b/xfa/fxfa/app/xfa_ffbarcode.cpp |
@@ -167,7 +167,7 @@ void CXFA_FFBarcode::UpdateWidgetProperty() { |
CFWL_Barcode* pBarCodeWidget = (CFWL_Barcode*)m_pNormalWidget; |
CFX_WideString wsType = GetDataAcc()->GetBarcodeType(); |
XFA_LPCBARCODETYPEENUMINFO pBarcodeTypeInfo = |
- XFA_GetBarcodeTypeByName(wsType.AsWideStringC()); |
+ XFA_GetBarcodeTypeByName(wsType.AsStringC()); |
pBarCodeWidget->SetType(pBarcodeTypeInfo->eBCType); |
CXFA_WidgetAcc* pAcc = GetDataAcc(); |
int32_t intVal; |