summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdochandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffdochandler.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffdochandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffdochandler.cpp b/xfa/fxfa/cxfa_ffdochandler.cpp
index 11e5b47e7c..86e493084b 100644
--- a/xfa/fxfa/cxfa_ffdochandler.cpp
+++ b/xfa/fxfa/cxfa_ffdochandler.cpp
@@ -39,7 +39,7 @@ XFA_ATTRIBUTEENUM CXFA_FFDocHandler::GetRestoreState(CXFA_FFDoc* hDoc) {
CXFA_Node* pSubForm = pForm->GetFirstChildByClass(XFA_Element::Subform);
if (!pSubForm)
return XFA_ATTRIBUTEENUM_Unknown;
- return pSubForm->GetEnum(XFA_ATTRIBUTE_RestoreState);
+ return pSubForm->JSNode()->GetEnum(XFA_ATTRIBUTE_RestoreState);
}
bool CXFA_FFDocHandler::RunDocScript(CXFA_FFDoc* hDoc,