From 5f983bb6aeae696ec5577a66771ef19cc3140b49 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 5 Apr 2017 16:33:44 -0400 Subject: Update XML syntax parser to return strings This Cl updates the CFDE_XMLSyntaxParser to return strings instead of taking out parameters. Change-Id: I51124d8d961c00a72987c1a21025d0626b965fab Reviewed-on: https://pdfium-review.googlesource.com/3754 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- xfa/fde/xml/cfde_xmldoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xfa/fde/xml/cfde_xmldoc.h') diff --git a/xfa/fde/xml/cfde_xmldoc.h b/xfa/fde/xml/cfde_xmldoc.h index 3eb07a87e1..6143750428 100644 --- a/xfa/fde/xml/cfde_xmldoc.h +++ b/xfa/fde/xml/cfde_xmldoc.h @@ -20,8 +20,9 @@ class CFDE_XMLDoc { ~CFDE_XMLDoc(); bool LoadXML(std::unique_ptr pXMLParser); - int32_t DoLoad(IFX_Pause* pPause = nullptr); + int32_t DoLoad(IFX_Pause* pPause); void CloseXML(); + CFDE_XMLNode* GetRoot() const { return m_pRoot.get(); } void SaveXMLNode(const CFX_RetainPtr& pXMLStream, CFDE_XMLNode* pNode); -- cgit v1.2.3