diff options
author | Lei Zhang <thestig@chromium.org> | 2016-02-19 14:57:07 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-02-19 14:57:07 -0800 |
commit | ae85f87266abee649fe8f202515bba4590196711 (patch) | |
tree | a2d1cb3fabc33921a9e11c1b99f87ae7a2f04ef8 /xfa | |
parent | 052a8d963af8bb186b956057763021624332c7a8 (diff) | |
download | pdfium-ae85f87266abee649fe8f202515bba4590196711.tar.xz |
Define _DEBUG for debug builds.
Otherwise ASSERT() is useless.
BUG=pdfium:136
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1712053003 .
Diffstat (limited to 'xfa')
-rw-r--r-- | xfa/src/fxfa/src/parser/xfa_parser_imp.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/src/fxfa/src/parser/xfa_parser_imp.cpp b/xfa/src/fxfa/src/parser/xfa_parser_imp.cpp index b774c46517..01b12d5cae 100644 --- a/xfa/src/fxfa/src/parser/xfa_parser_imp.cpp +++ b/xfa/src/fxfa/src/parser/xfa_parser_imp.cpp @@ -962,15 +962,13 @@ void XFA_ConvertRichTextToPlainText(IFDE_XMLElement* pRichTextXMLNode, wsOutput = wsPlainTextBuf.GetWideString(); } #endif + void XFA_ConvertXMLToPlainText(IFDE_XMLElement* pRootXMLNode, CFX_WideString& wsOutput) { for (IFDE_XMLNode* pXMLChild = pRootXMLNode->GetNodeItem(IFDE_XMLNode::FirstChild); pXMLChild; pXMLChild = pXMLChild->GetNodeItem(IFDE_XMLNode::NextSibling)) { -#ifdef _DEBUG - FDE_XMLNODETYPE nodeType = pXMLChild->GetType(); -#endif switch (pXMLChild->GetType()) { case FDE_XMLNODE_Element: { CFX_WideString wsTextData; @@ -1002,6 +1000,7 @@ void XFA_ConvertXMLToPlainText(IFDE_XMLElement* pRootXMLNode, } } } + void CXFA_SimpleParser::ParseContentNode(CXFA_Node* pXFANode, IFDE_XMLNode* pXMLNode, XFA_XDPPACKET ePacketID) { |