Index: xfa/fxfa/app/xfa_fffield.cpp |
diff --git a/xfa/fxfa/app/xfa_fffield.cpp b/xfa/fxfa/app/xfa_fffield.cpp |
index 59374cdbec153e9e7b0e1a4cf88c324460f007fe..d3e645d56bcfe4310f9511714775bdf1c4231ed5 100644 |
--- a/xfa/fxfa/app/xfa_fffield.cpp |
+++ b/xfa/fxfa/app/xfa_fffield.cpp |
@@ -323,7 +323,7 @@ void CXFA_FFField::UpdateFWL() { |
uint32_t CXFA_FFField::UpdateUIProperty() { |
CXFA_Node* pUiNode = m_pDataAcc->GetUIChild(); |
uint32_t dwStyle = 0; |
- if (pUiNode && pUiNode->GetClassID() == XFA_Element::DefaultUi) { |
+ if (pUiNode && pUiNode->GetElementType() == XFA_Element::DefaultUi) { |
dwStyle = FWL_STYLEEXT_EDT_ReadOnly; |
} |
return dwStyle; |