Index: xfa/fxfa/parser/cxfa_validate.cpp |
diff --git a/xfa/fxfa/parser/cxfa_validate.cpp b/xfa/fxfa/parser/cxfa_validate.cpp |
index d226cbf52acdbf906e0f61b4aeedcc21a7d756ba..db0ffb4fa6f071c93d4665901239ab7e3f2e04cb 100644 |
--- a/xfa/fxfa/parser/cxfa_validate.cpp |
+++ b/xfa/fxfa/parser/cxfa_validate.cpp |
@@ -18,7 +18,7 @@ FX_BOOL CXFA_Validate::SetTestValue(int32_t iType, |
CFX_WideString& wsValue, |
XFA_ATTRIBUTEENUM eName) { |
const XFA_ATTRIBUTEENUMINFO* pInfo = |
- XFA_GetAttributeEnumByName(wsValue.AsWideStringC()); |
+ XFA_GetAttributeEnumByName(wsValue.AsStringC()); |
if (pInfo) |
eName = pInfo->eName; |