| Index: xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
|
| diff --git a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
|
| index 922b0d6bb66a22a62e229b499153cc666ff9a4fa..1b70dffb199696e70eeea74437199f79f626c1cd 100644
|
| --- a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
|
| +++ b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
|
| @@ -117,7 +117,7 @@ void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_HWXY(
|
| measure.Set(rtRect.top, XFA_UNIT_Pt);
|
| break;
|
| }
|
| - XFA_UNIT unit = measure.GetUnit(wsUnit);
|
| + XFA_UNIT unit = measure.GetUnit(wsUnit.AsWideStringC());
|
| FX_FLOAT fValue = measure.ToUnit(unit);
|
| fValue = FXSYS_round(fValue * 1000) / 1000.0f;
|
| if (hValue) {
|
|
|