diff options
Diffstat (limited to 'xfa/fxfa')
-rw-r--r-- | xfa/fxfa/parser/xfa_parser.h | 1 | ||||
-rw-r--r-- | xfa/fxfa/parser/xfa_parser_imp.h | 3 | ||||
-rw-r--r-- | xfa/fxfa/parser/xfa_utils.h | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_parser.h b/xfa/fxfa/parser/xfa_parser.h index 5ccc1af199..b6c81e9f18 100644 --- a/xfa/fxfa/parser/xfa_parser.h +++ b/xfa/fxfa/parser/xfa_parser.h @@ -15,6 +15,7 @@ class IXFA_Parser { public: static IXFA_Parser* Create(CXFA_Document* pFactory, FX_BOOL bDocumentParser = FALSE); + virtual ~IXFA_Parser() {} virtual void Release() = 0; virtual int32_t StartParse(IFX_FileRead* pStream, diff --git a/xfa/fxfa/parser/xfa_parser_imp.h b/xfa/fxfa/parser/xfa_parser_imp.h index 2485ddfcd2..1f117be64e 100644 --- a/xfa/fxfa/parser/xfa_parser_imp.h +++ b/xfa/fxfa/parser/xfa_parser_imp.h @@ -109,7 +109,6 @@ class CXFA_DocumentParser : public IXFA_Parser { CXFA_FFNotify* m_pNotify; CXFA_Document* m_pDocument; }; -typedef CFX_StackTemplate<CFDE_XMLNode*> CXFA_XMLNodeStack; class CXFA_XMLParser : public CFDE_XMLParser { public: @@ -131,7 +130,7 @@ class CXFA_XMLParser : public CFDE_XMLParser { CFDE_XMLSyntaxParser* m_pParser; CFDE_XMLNode* m_pParent; CFDE_XMLNode* m_pChild; - CXFA_XMLNodeStack m_NodeStack; + CFX_StackTemplate<CFDE_XMLNode*> m_NodeStack; CFX_WideString m_ws1; CFX_WideString m_ws2; FDE_XmlSyntaxResult m_syntaxParserResult; diff --git a/xfa/fxfa/parser/xfa_utils.h b/xfa/fxfa/parser/xfa_utils.h index d6633a4c7f..5b8057526a 100644 --- a/xfa/fxfa/parser/xfa_utils.h +++ b/xfa/fxfa/parser/xfa_utils.h @@ -8,6 +8,8 @@ #define XFA_FXFA_PARSER_XFA_UTILS_H_ #include "xfa/fde/xml/fde_xml.h" +#include "xfa/fgas/crt/fgas_stream.h" +#include "xfa/fgas/crt/fgas_utils.h" #include "xfa/fxfa/include/fxfa_basic.h" class CFDE_XMLElement; |