summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_stroke.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_stroke.h')
-rw-r--r--xfa/fxfa/parser/cxfa_stroke.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_stroke.h b/xfa/fxfa/parser/cxfa_stroke.h
index f455edc69e..6bfc409af7 100644
--- a/xfa/fxfa/parser/cxfa_stroke.h
+++ b/xfa/fxfa/parser/cxfa_stroke.h
@@ -23,8 +23,8 @@ class CXFA_Stroke : public CXFA_Data {
public:
explicit CXFA_Stroke(CXFA_Node* pNode) : CXFA_Data(pNode) {}
- bool IsCorner() const { return GetClassID() == XFA_Element::Corner; }
- bool IsEdge() const { return GetClassID() == XFA_Element::Edge; }
+ bool IsCorner() const { return GetElementType() == XFA_Element::Corner; }
+ bool IsEdge() const { return GetElementType() == XFA_Element::Edge; }
bool IsVisible() const { return GetPresence() == XFA_ATTRIBUTEENUM_Visible; }
int32_t GetPresence() const;
int32_t GetCapType() const;