Index: xfa/fxfa/app/xfa_ffdochandler.cpp |
diff --git a/xfa/fxfa/app/xfa_ffdochandler.cpp b/xfa/fxfa/app/xfa_ffdochandler.cpp |
index 38e872a0432b4208fd21447911ee683f8ce24d5e..e0a28337ca05a87b226515a516d8807abaa246f4 100644 |
--- a/xfa/fxfa/app/xfa_ffdochandler.cpp |
+++ b/xfa/fxfa/app/xfa_ffdochandler.cpp |
@@ -35,7 +35,7 @@ XFA_ATTRIBUTEENUM CXFA_FFDocHandler::GetRestoreState(CXFA_FFDoc* hDoc) { |
if (!pForm) |
return XFA_ATTRIBUTEENUM_Unknown; |
- CXFA_Node* pSubForm = pForm->GetFirstChildByClass(XFA_ELEMENT_Subform); |
+ CXFA_Node* pSubForm = pForm->GetFirstChildByClass(XFA_Element::Subform); |
if (!pSubForm) |
return XFA_ATTRIBUTEENUM_Unknown; |
return pSubForm->GetEnum(XFA_ATTRIBUTE_RestoreState); |