summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa/src/common/xfa_document.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxfa/src/common/xfa_document.h')
-rw-r--r--xfa/src/fxfa/src/common/xfa_document.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/src/fxfa/src/common/xfa_document.h b/xfa/src/fxfa/src/common/xfa_document.h
index 20b8e1a020..47cf98e717 100644
--- a/xfa/src/fxfa/src/common/xfa_document.h
+++ b/xfa/src/fxfa/src/common/xfa_document.h
@@ -64,6 +64,7 @@ enum XFA_LAYOUTRESULT {
class IXFA_Notify
{
public:
+ virtual ~IXFA_Notify() {}
virtual void OnPageEvent(IXFA_LayoutPage *pSender, XFA_PAGEEVENT eEvent, void* pParam = NULL) = 0;
virtual void OnNodeEvent(CXFA_Node *pSender, XFA_NODEEVENT eEvent, void* pParam = NULL, void* pParam2 = NULL, void* pParam3 = NULL, void* pParam4 = NULL) = 0;
@@ -93,6 +94,7 @@ public:
class IXFA_ObjFactory
{
public:
+ virtual ~IXFA_ObjFactory() {}
virtual CXFA_Node* CreateNode(FX_DWORD dwPacket, XFA_ELEMENT eElement) = 0;
virtual CXFA_Node* CreateNode(XFA_LPCPACKETINFO pPacket, XFA_ELEMENT eElement) = 0;
};