summaryrefslogtreecommitdiff
path: root/fxjs/cjx_layoutpseudomodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjx_layoutpseudomodel.cpp')
-rw-r--r--fxjs/cjx_layoutpseudomodel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fxjs/cjx_layoutpseudomodel.cpp b/fxjs/cjx_layoutpseudomodel.cpp
index 94c7dfb701..79e7fc8cf1 100644
--- a/fxjs/cjx_layoutpseudomodel.cpp
+++ b/fxjs/cjx_layoutpseudomodel.cpp
@@ -103,16 +103,16 @@ void CJX_LayoutPseudoModel::HWXY(CFXJSE_Arguments* pArguments,
CFX_RectF rtRect = pLayoutItem->GetRect(true);
switch (layoutModel) {
case XFA_LAYOUTMODEL_H:
- measure.Set(rtRect.height, XFA_UNIT_Pt);
+ measure.Set(rtRect.height, XFA_Unit::Pt);
break;
case XFA_LAYOUTMODEL_W:
- measure.Set(rtRect.width, XFA_UNIT_Pt);
+ measure.Set(rtRect.width, XFA_Unit::Pt);
break;
case XFA_LAYOUTMODEL_X:
- measure.Set(rtRect.left, XFA_UNIT_Pt);
+ measure.Set(rtRect.left, XFA_Unit::Pt);
break;
case XFA_LAYOUTMODEL_Y:
- measure.Set(rtRect.top, XFA_UNIT_Pt);
+ measure.Set(rtRect.top, XFA_Unit::Pt);
break;
}