starmath/source/unomodel.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit b6ef30d1b049977beb23d28a07d77012fa1daf47 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Tue Feb 13 18:55:15 2024 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Wed Feb 14 04:07:21 2024 +0100 tdf#159302: Another UNO property "BaseLine" needs to use mm/100s Change-Id: I6688577a41590624f1e1f08112f1308e810a7e37 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163333 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> 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; }