summaryrefslogtreecommitdiffstats
path: root/starmath/source/unomodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r--starmath/source/unomodel.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index ea12928d3d..874dfb599a 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -916,7 +916,9 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu
{
pDocSh->ArrangeFormula();
- *pValue <<= static_cast<sal_Int32>( pDocSh->GetFormulaTree()->GetFormulaBaseline() );
+ *pValue <<= static_cast<sal_Int32>(
+ o3tl::convert(pDocSh->GetFormulaTree()->GetFormulaBaseline(),
+ SmO3tlLengthUnit(), o3tl::Length::mm100));
}
break;
}