starmath/source/unomodel.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit df41d922ef7e6c99f72d65dad04b56c82a79ae30 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Tue Feb 13 18:55:15 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Feb 14 09:38:48 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> (cherry picked from commit b6ef30d1b049977beb23d28a07d77012fa1daf47) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163339 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index ea12928d3dbc..874dfb599af7 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; }