| Index: core/fpdfapi/fpdf_parser/cfdf_document.cpp
|
| diff --git a/core/fpdfapi/fpdf_parser/cfdf_document.cpp b/core/fpdfapi/fpdf_parser/cfdf_document.cpp
|
| index 92b20cafd83f83c9101a7ef826ec185d73a0fb69..01829481730f2acccbf8f56170468c190c29ce13 100644
|
| --- a/core/fpdfapi/fpdf_parser/cfdf_document.cpp
|
| +++ b/core/fpdfapi/fpdf_parser/cfdf_document.cpp
|
| @@ -90,8 +90,7 @@ FX_BOOL CFDF_Document::WriteBuf(CFX_ByteTextBuf& buf) const {
|
|
|
| buf << "%FDF-1.2\r\n";
|
| for (const auto& pair : *this)
|
| - buf << pair.first << " 0 obj\r\n"
|
| - << pair.second.get() << "\r\nendobj\r\n\r\n";
|
| + buf << pair.first << " 0 obj\r\n" << pair.second << "\r\nendobj\r\n\r\n";
|
|
|
| buf << "trailer\r\n<</Root " << m_pRootDict->GetObjNum()
|
| << " 0 R>>\r\n%%EOF\r\n";
|
|
|