summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-04-22 15:44:07 +0200
committerXisco Faulí <xiscofauli@libreoffice.org>2020-04-28 12:06:58 +0200
commit47c2a85b41d669281b0e9f0063f024360485f0d5 (patch)
tree19a31c18a5476172e4a1457be897800fee0749c2
parent7e7b828468b17eab752dbe8368a9e84ebbf3d84f (diff)
tdf#132305: Teach Starmath MS_COMBOVERLINE = 0x0305
Change-Id: I04b282d3f0dae68d459002f5a3822ac06fdb7986 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92698 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit be23b4a91504b81a19510f8562e92203b4317edf) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92770 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
-rw-r--r--starmath/inc/types.hxx1
-rw-r--r--starmath/source/ooxmlimport.cxx3
2 files changed, 4 insertions, 0 deletions
diff --git a/starmath/inc/types.hxx b/starmath/inc/types.hxx
index b5cca6087346..5680e907c6e7 100644
--- a/starmath/inc/types.hxx
+++ b/starmath/inc/types.hxx
@@ -135,6 +135,7 @@ sal_Unicode const MS_TILDE = 0x007E;
sal_Unicode const MS_COMBTILDE = 0x0303;
sal_Unicode const MS_BAR = 0x00AF;
sal_Unicode const MS_COMBBAR = 0x0304;
+sal_Unicode const MS_COMBOVERLINE = 0x0305;
sal_Unicode const MS_BREVE = 0x02D8;
sal_Unicode const MS_COMBBREVE = 0x0306;
sal_Unicode const MS_CIRCLE = 0x02DA;
diff --git a/starmath/source/ooxmlimport.cxx b/starmath/source/ooxmlimport.cxx
index 731daa054120..034919787f4b 100644
--- a/starmath/source/ooxmlimport.cxx
+++ b/starmath/source/ooxmlimport.cxx
@@ -180,6 +180,9 @@ OUString SmOoxmlImport::handleAcc()
case MS_COMBACUTE:
acc = "acute";
break;
+ case MS_COMBOVERLINE:
+ acc = "overline";
+ break;
case MS_GRAVE:
case MS_COMBGRAVE:
acc = "grave";