From 2c0c95af13662f37e7f217e0bd0fc87ebde36f1b Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 1 Feb 2023 11:12:19 +0100 Subject: tdf#107841 oox: rename ambiguous and confusing ECMA_DIALECT Change-Id: I731b3808896347332f938811715597ac814ae1d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146433 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- starmath/source/ooxmlexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath/source') diff --git a/starmath/source/ooxmlexport.cxx b/starmath/source/ooxmlexport.cxx index d90f56cc488a..fd3a9498a681 100644 --- a/starmath/source/ooxmlexport.cxx +++ b/starmath/source/ooxmlexport.cxx @@ -107,7 +107,7 @@ void SmOoxmlExport::HandleText( const SmNode* pNode, int /*nLevel*/) m_pSerializer->singleElementNS(XML_m, XML_nor); m_pSerializer->endElementNS( XML_m, XML_rPr ); } - if (drawingml::DOCUMENT_DOCX == m_DocumentType && ECMA_DIALECT == version) + if (drawingml::DOCUMENT_DOCX == m_DocumentType && ECMA_376_1ST_EDITION == version) { // HACK: MSOffice2007 does not import characters properly unless this font is explicitly given m_pSerializer->startElementNS(XML_w, XML_rPr); m_pSerializer->singleElementNS( XML_w, XML_rFonts, FSNS( XML_w, XML_ascii ), "Cambria Math", -- cgit v1.2.3