summaryrefslogtreecommitdiffstats
path: root/starmath/source/mathml/mathmlexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/mathml/mathmlexport.cxx')
-rw-r--r--starmath/source/mathml/mathmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathml/mathmlexport.cxx b/starmath/source/mathml/mathmlexport.cxx
index ca9453d8d0ab..64c203ddec73 100644
--- a/starmath/source/mathml/mathmlexport.cxx
+++ b/starmath/source/mathml/mathmlexport.cxx
@@ -1193,7 +1193,7 @@ void SmXMLExport::ExportFont(const SmNode* pNode, int nLevel)
//Must fix StarMath to retain the original pt values
double mytest
= o3tl::convert<double>(pFontNode->GetFont().GetFontSize().Height(),
- o3tl::Length::mm100, o3tl::Length::pt);
+ SmO3tlLengthUnit(), o3tl::Length::pt);
if (pFontNode->GetSizeType() == FontSizeType::MINUS)
mytest -= static_cast<double>(aFrac);