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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_linedata.cpp b/xfa/fxfa/parser/cxfa_linedata.cpp
index 623504af90..9fa39bc956 100644
--- a/xfa/fxfa/parser/cxfa_linedata.cpp
+++ b/xfa/fxfa/parser/cxfa_linedata.cpp
@@ -8,15 +8,15 @@
#include "xfa/fxfa/parser/cxfa_node.h"
-int32_t CXFA_LineData::GetHand() {
+XFA_ATTRIBUTEENUM CXFA_LineData::GetHand() const {
return m_pNode->JSNode()->GetEnum(XFA_Attribute::Hand);
}
-bool CXFA_LineData::GetSlope() {
+bool CXFA_LineData::GetSlope() const {
return m_pNode->JSNode()->GetEnum(XFA_Attribute::Slope) ==
XFA_ATTRIBUTEENUM_Slash;
}
-CXFA_EdgeData CXFA_LineData::GetEdgeData() {
+CXFA_EdgeData CXFA_LineData::GetEdgeData() const {
return CXFA_EdgeData(m_pNode->GetChild(0, XFA_Element::Edge, false));
}