Index: xfa/fxfa/app/xfa_ffbarcode.cpp |
diff --git a/xfa/fxfa/app/xfa_ffbarcode.cpp b/xfa/fxfa/app/xfa_ffbarcode.cpp |
index e5ace150ab221ac4bd855f066400f7f1aa46629c..28dfa86066160476f23fad6d35edd60b6d497428 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; |