| Index: fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
|
| diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
|
| index 26227c068e79608b57d90ecf57cfb3b0f66795ef..3c9c3edea368b1bb11b242046c22448ccf80e9ae 100644
|
| --- a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
|
| +++ b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
|
| @@ -398,7 +398,7 @@ void CPDFXFA_DocEnvironment::SetTitle(CXFA_FFDoc* hDoc,
|
| return;
|
|
|
| if (CPDF_Dictionary* pInfoDict = m_pContext->GetPDFDoc()->GetInfo())
|
| - pInfoDict->SetFor("Title", new CPDF_String(wsTitle));
|
| + pInfoDict->SetNewFor<CPDF_String>("Title", wsTitle);
|
| }
|
|
|
| void CPDFXFA_DocEnvironment::ExportData(CXFA_FFDoc* hDoc,
|
|
|