diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_line.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_line.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_line.cpp b/xfa/fxfa/parser/cxfa_line.cpp index 8be1d25a46..0de7bcd8a2 100644 --- a/xfa/fxfa/parser/cxfa_line.cpp +++ b/xfa/fxfa/parser/cxfa_line.cpp @@ -9,11 +9,12 @@ #include "xfa/fxfa/parser/cxfa_node.h" int32_t CXFA_Line::GetHand() { - return m_pNode->GetEnum(XFA_ATTRIBUTE_Hand); + return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Hand); } bool CXFA_Line::GetSlope() { - return m_pNode->GetEnum(XFA_ATTRIBUTE_Slope) == XFA_ATTRIBUTEENUM_Slash; + return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Slope) == + XFA_ATTRIBUTEENUM_Slash; } CXFA_Edge CXFA_Line::GetEdge() { |