summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2023-02-01 11:12:19 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2023-02-01 11:34:49 +0000
commit2c0c95af13662f37e7f217e0bd0fc87ebde36f1b (patch)
treea7f23af8995603b34b324f5f608f419c32895ebe /starmath/source
parent8431cbbed5b5665571cbb27d1330abd3dd0868f4 (diff)
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 <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/ooxmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
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",