diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-02-13 18:55:15 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-02-14 04:07:21 +0100 |
commit | b6ef30d1b049977beb23d28a07d77012fa1daf47 (patch) | |
tree | 77e47c1722a53bb9727c47a51d879768eb7c0f82 /starmath | |
parent | 125fc2ce861c82592b261f2992c893b414396e56 (diff) |
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.kaganski@collabora.com>
Diffstat (limited to 'starmath')
-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; } |