summaryrefslogtreecommitdiff
path: root/starmath/source/format.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-11-03 21:36:26 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2022-11-04 05:32:27 +0100
commita37a979107a8643136ff3733b5b350b6b1be2bb7 (patch)
tree0e8cdf06b166177426bc51d18ccc97494ec5e43b /starmath/source/format.cxx
parent5efb023c27e693654b09c45894a6f4a50f3d950e (diff)
Use o3tl::convert in Math
... and use our standard definition of pt. Change-Id: I5a162b137360210335b84de33606dc7404cfc2de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142204 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'starmath/source/format.cxx')
-rw-r--r--starmath/source/format.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/format.cxx b/starmath/source/format.cxx
index 65ec09558d56..f1f7a00f3806 100644
--- a/starmath/source/format.cxx
+++ b/starmath/source/format.cxx
@@ -21,7 +21,7 @@
SmFormat::SmFormat()
-: aBaseSize(0, SmPtsTo100th_mm(12))
+: aBaseSize(0, o3tl::convert(12, o3tl::Length::pt, o3tl::Length::mm100))
{
eHorAlign = SmHorAlign::Center;
nGreekCharStyle = 0;