From 412d66c05fda48aeb820a035eee3fd1680a1b7ff Mon Sep 17 00:00:00 2001 From: ekuiitr Date: Thu, 18 Jan 2018 22:58:16 +0800 Subject: [PATCH] tdf#115030 Formula use "dot" instead of "acute" math command. Change-Id: I5a382f73a786f45ce0b83864b21e5e6ae357fad4 Reviewed-on: https://gerrit.libreoffice.org/48440 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- starmath/inc/types.hxx | 2 ++ starmath/source/ooxmlimport.cxx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/starmath/inc/types.hxx b/starmath/inc/types.hxx index 9d57536260ba..78e33b62905a 100644 --- a/starmath/inc/types.hxx +++ b/starmath/inc/types.hxx @@ -144,6 +144,8 @@ sal_Unicode const MS_COMBCHECK = 0x030C; sal_Unicode const MS_VEC = 0x20D7; sal_Unicode const MS_DOT = 0x02D9; sal_Unicode const MS_DDOT = 0x00A8; +sal_Unicode const MS_COMBDOT = 0x0307; +sal_Unicode const MS_COMBDDOT = 0x0308; sal_Unicode const MS_DDDOT = 0x20DB; sal_Unicode const MS_AND = 0x2227; sal_Unicode const MS_OR = 0x2228; diff --git a/starmath/source/ooxmlimport.cxx b/starmath/source/ooxmlimport.cxx index 1059edc9395c..6cfefc210569 100644 --- a/starmath/source/ooxmlimport.cxx +++ b/starmath/source/ooxmlimport.cxx @@ -208,9 +208,11 @@ OUString SmOoxmlImport::handleAcc() acc = "widehat"; break; case MS_DOT: + case MS_COMBDOT: acc = "dot"; break; case MS_DDOT: + case MS_COMBDDOT: acc = "ddot"; break; case MS_DDDOT: