diff options
Diffstat (limited to 'xfa/fxfa/xfa_ffwidget.h')
-rw-r--r-- | xfa/fxfa/xfa_ffwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/xfa_ffwidget.h b/xfa/fxfa/xfa_ffwidget.h index 5345bc451e..7b923506ff 100644 --- a/xfa/fxfa/xfa_ffwidget.h +++ b/xfa/fxfa/xfa_ffwidget.h @@ -21,7 +21,7 @@ class CXFA_FFDoc; class CXFA_FFApp; enum class FWL_WidgetHit; -inline FX_FLOAT XFA_UnitPx2Pt(FX_FLOAT fPx, FX_FLOAT fDpi) { +inline float XFA_UnitPx2Pt(float fPx, float fDpi) { return fPx * 72.0f / fDpi; } |