office-gobmx/vbahelper/source
Mike Kaganski da9b11a50a Use o3tl::convert in VbaApplicationBase::CentimetersToPoints
Note that the old conversion was incorrect; it likely followed
MS documentation [1], which is inaccurate: running in Word

  MsgBox CentimetersToPoints(1.0)

gives 28.34646 (expected given the 1 in = 72 pt definition).

[1] https://docs.microsoft.com/en-us/office/vba/api/word.application.centimeterstopoints

Change-Id: I4eefccc4bd17958f944f364bc3ea579a8fdbd703
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137855
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-08-05 14:48:17 +02:00
..
msforms
vbahelper Use o3tl::convert in VbaApplicationBase::CentimetersToPoints 2022-08-05 14:48:17 +02:00