diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-09-17 17:50:22 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-09-18 02:32:05 +0200 |
commit | d4edecb26cc5a801815a612cdd27f3dc621d5038 (patch) | |
tree | 51a97cb9726415a9e27c9ce0c5439eb4846c3a81 /starmath/source/parse5.cxx | |
parent | 80a24870491385ba145757bf517c5f1cf7939017 (diff) |
tdf#111705: Add support of Arabic summation operator (U+1EEF0)
Needed to fix a punch of code to work with UTF-16 not just UCS-2 (in
other words, handle surrogate pairs).
Change-Id: Idd7aa823349a032f20f37abbb588856afbc548d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156994
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'starmath/source/parse5.cxx')
-rw-r--r-- | starmath/source/parse5.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/parse5.cxx b/starmath/source/parse5.cxx index 13f3701db26a..c3f75f430d22 100644 --- a/starmath/source/parse5.cxx +++ b/starmath/source/parse5.cxx @@ -153,6 +153,7 @@ const SmTokenTableEntry aTokenTable[] { u"lsub", TLSUB, '\0', TG::Power, 0 }, { u"lsup", TLSUP, '\0', TG::Power, 0 }, { u"lt", TLT, MS_LT, TG::Relation, 0 }, + { u"maj", TSUM, MS_MAJ, TG::Oper, 5 }, { u"matrix", TMATRIX, '\0', TG::NONE, 5 }, { u"minusplus", TMINUSPLUS, MS_MINUSPLUS, TG::UnOper | TG::Sum, 5 }, { u"mline", TMLINE, MS_VERTLINE, TG::NONE, 0 }, //! not in TG::RBrace, Level 0 |