vcl: add conversion point to 100th mm for double values

Desktop / LibreOffice - Tomaž Vajngerl [collabora.co.uk] - 1 June 2020 10:21 EDT

Integer conversion throws away percision, which is problematic when we work with floating point values.

Change-Id: Ib34e46bd59aa67e933d49bc800e96cc6426414e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95260

0e29e9ea7f4f vcl: add conversion point to 100th mm for double values
include/tools/UnitConversion.hxx | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share