diff options
Diffstat (limited to 'core/fxcrt/xml/cfx_xmltext.cpp')
-rw-r--r-- | core/fxcrt/xml/cfx_xmltext.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fxcrt/xml/cfx_xmltext.cpp b/core/fxcrt/xml/cfx_xmltext.cpp index 83ad0434bf..05e2935440 100644 --- a/core/fxcrt/xml/cfx_xmltext.cpp +++ b/core/fxcrt/xml/cfx_xmltext.cpp @@ -20,3 +20,7 @@ FX_XMLNODETYPE CFX_XMLText::GetType() const { std::unique_ptr<CFX_XMLNode> CFX_XMLText::Clone() { return pdfium::MakeUnique<CFX_XMLText>(m_wsText); } + +void CFX_XMLText::Save(const RetainPtr<CFX_SeekableStreamProxy>& pXMLStream) { + pXMLStream->WriteString(EncodeEntities(GetText()).AsStringView()); +} |