Index: xfa/fxfa/app/xfa_ffbarcode.cpp |
diff --git a/xfa/fxfa/app/xfa_ffbarcode.cpp b/xfa/fxfa/app/xfa_ffbarcode.cpp |
index b7178f0baaf6b98ff175cec188c9da5317bcfbb7..f2793e74cec34a08869cb6ee4fa04a30b345638c 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); |
+ XFA_GetBarcodeTypeByName(wsType.AsWideStringC()); |
pBarCodeWidget->SetType(pBarcodeTypeInfo->eBCType); |
CXFA_WidgetAcc* pAcc = GetDataAcc(); |
int32_t intVal; |