diff options
-rw-r--r-- | starmath/source/unomodel.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 8a9207a2244b..805c6566e7f3 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -918,7 +918,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; } |