Index: xfa/fxfa/parser/xfa_document_serialize.cpp |
diff --git a/xfa/fxfa/parser/xfa_document_serialize.cpp b/xfa/fxfa/parser/xfa_document_serialize.cpp |
index f08215aa4c8f7973a30a30d04e41d775d650a446..feaebdd7b75ce226e684f3eebc35ae06da60cbfc 100644 |
--- a/xfa/fxfa/parser/xfa_document_serialize.cpp |
+++ b/xfa/fxfa/parser/xfa_document_serialize.cpp |
@@ -297,7 +297,7 @@ static void XFA_DataExporter_RegenerateFormFile_Changed( |
buf << FX_WSTRC(L" xmlns=\"\"\n>"); |
for (int32_t i = 0; i < wsSelTextArray.GetSize(); i++) { |
buf << FX_WSTRC(L"<value\n>"); |
- buf << XFA_ExportEncodeContent(wsSelTextArray[i].AsWideStringC()); |
+ buf << XFA_ExportEncodeContent(wsSelTextArray[i].AsStringC()); |
buf << FX_WSTRC(L"</value\n>"); |
} |
buf << FX_WSTRC(L"</"); |