summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-12-15 16:03:38 +0300
committerXisco Fauli <xiscofauli@libreoffice.org>2023-12-18 11:33:55 +0100
commit3d0a2278aca97370cb22d0d91f746116be2231b1 (patch)
tree9a9b5cf0d8ab4401e2f55c5be655c54d78d57285 /include
parent0034d2ab9382da86340738137218791a4ccc9c90 (diff)
tdf#157569: FormulaImExportBase::getFormulaSize should return mm/100
Similar to commit 798d21e2a1b8bc48b6bb5e1b3cf0cba0e5882a59 (tdf#157965: UNO methods are expected to return sizes in mm/100, 2023-10-29); this was an omission from commit 9e92a17cb6e03beedeeca40bfc8524c2623d31eb (starmath: Improve glyph positioning, 2023-09-19). The method is called in DomainMapper_Impl::appendStarMath(), and the returned value is used to define object size using UNO methods. Change-Id: I37cc4d5dd18641915495b97f0d99fa10a805e18c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160827 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 80b67e776ae26d60e0935fcc57a8ff6c983bdd15) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160852 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/oox/mathml/imexport.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/mathml/imexport.hxx b/include/oox/mathml/imexport.hxx
index 2a8306c52963..c77689166d75 100644
--- a/include/oox/mathml/imexport.hxx
+++ b/include/oox/mathml/imexport.hxx
@@ -35,7 +35,7 @@ class OOX_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE("crosscast") FormulaImExportBase
{
public:
virtual void readFormulaOoxml( oox::formulaimport::XmlStream& stream ) = 0;
- virtual Size getFormulaSize() const = 0;
+ virtual Size getFormulaSize() const = 0; // Unit is mm100
virtual void writeFormulaOoxml(::sax_fastparser::FSHelperPtr pSerializer,
oox::core::OoxmlVersion version,