summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_linedata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_linedata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_linedata.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_linedata.cpp b/xfa/fxfa/parser/cxfa_linedata.cpp
index 47e45c77f5..37f4f2a48f 100644
--- a/xfa/fxfa/parser/cxfa_linedata.cpp
+++ b/xfa/fxfa/parser/cxfa_linedata.cpp
@@ -6,6 +6,7 @@
#include "xfa/fxfa/parser/cxfa_linedata.h"
+#include "xfa/fxfa/parser/cxfa_edge.h"
#include "xfa/fxfa/parser/cxfa_node.h"
XFA_AttributeEnum CXFA_LineData::GetHand() const {
@@ -18,5 +19,6 @@ bool CXFA_LineData::GetSlope() const {
}
CXFA_EdgeData CXFA_LineData::GetEdgeData() const {
- return CXFA_EdgeData(m_pNode->GetChild(0, XFA_Element::Edge, false));
+ return CXFA_EdgeData(
+ m_pNode->GetChild<CXFA_Edge>(0, XFA_Element::Edge, false));
}