summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-04-22 15:44:07 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-04-24 10:01:03 +0200
commitbe23b4a91504b81a19510f8562e92203b4317edf (patch)
tree894db8853fdde18b9328bbcb6c218761e97efad1 /starmath
parentc909cc6a550e78816316e2674639178e95ab2a41 (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> Tested-by: Jenkins
Diffstat (limited to 'starmath')
-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";