| 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 52aa58530e5b1b0f4a462ab0c000c55ff307d1e1..febfa3e827269435b60f22364d557d12de917f1b 100644
|
| --- a/xfa/fxfa/parser/xfa_document_serialize.cpp
|
| +++ b/xfa/fxfa/parser/xfa_document_serialize.cpp
|
| @@ -347,8 +347,7 @@ static void XFA_DataExporter_RegenerateFormFile_Changed(
|
| }
|
| if (!wsChildren.IsEmpty() || !wsAttrs.IsEmpty() ||
|
| pNode->HasAttribute(XFA_ATTRIBUTE_Name)) {
|
| - CFX_WideStringC wsElement;
|
| - pNode->GetClassName(wsElement);
|
| + CFX_WideStringC wsElement = pNode->GetClassName();
|
| CFX_WideString wsName;
|
| XFA_SaveAttribute(pNode, XFA_ATTRIBUTE_Name, FX_WSTRC(L"name"), TRUE,
|
| wsName);
|
| @@ -382,8 +381,7 @@ static void XFA_DataExporter_RegenerateFormFile_Container(
|
| }
|
| return;
|
| }
|
| - CFX_WideStringC wsElement;
|
| - pNode->GetClassName(wsElement);
|
| + CFX_WideStringC wsElement = pNode->GetClassName();
|
| pStream->WriteString(L"<", 1);
|
| pStream->WriteString(wsElement.c_str(), wsElement.GetLength());
|
| CFX_WideString wsOutput;
|
|
|