summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_strokedata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_strokedata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_strokedata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_strokedata.cpp b/xfa/fxfa/parser/cxfa_strokedata.cpp
index 0579eef621..aa31d0a801 100644
--- a/xfa/fxfa/parser/cxfa_strokedata.cpp
+++ b/xfa/fxfa/parser/cxfa_strokedata.cpp
@@ -27,7 +27,7 @@ int32_t CXFA_StrokeData::GetStrokeType() const {
}
float CXFA_StrokeData::GetThickness() const {
- return GetMSThickness().ToUnit(XFA_UNIT_Pt);
+ return GetMSThickness().ToUnit(XFA_Unit::Pt);
}
CXFA_Measurement CXFA_StrokeData::GetMSThickness() const {
@@ -86,7 +86,7 @@ bool CXFA_StrokeData::IsInverted() const {
float CXFA_StrokeData::GetRadius() const {
return m_pNode ? m_pNode->JSNode()
->GetMeasure(XFA_Attribute::Radius)
- .ToUnit(XFA_UNIT_Pt)
+ .ToUnit(XFA_Unit::Pt)
: 0;
}