[Libreoffice-commits] core.git: starmath/inc starmath/source

ekuiitr jhaekansh80 at gmail.com
Wed Jan 24 19:39:16 UTC 2018


 starmath/inc/types.hxx          |    2 ++
 starmath/source/ooxmlimport.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 412d66c05fda48aeb820a035eee3fd1680a1b7ff
Author: ekuiitr <jhaekansh80 at gmail.com>
Date:   Thu Jan 18 22:58:16 2018 +0800

    tdf#115030 Formula use "dot" instead of "acute" math command.
    
    Change-Id: I5a382f73a786f45ce0b83864b21e5e6ae357fad4
    Reviewed-on: https://gerrit.libreoffice.org/48440
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

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:


More information about the Libreoffice-commits mailing list