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

dante (via logerrit) logerrit at kemper.freedesktop.org
Sun Nov 22 11:52:02 UTC 2020


 starmath/source/node.cxx             |    1 +
 starmath/source/starmathdatabase.cxx |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit b0677fa342c1236e6404ba59f19d73ac0ba0bd3d
Author:     dante <dante19031999 at gmail.com>
AuthorDate: Sun Nov 22 10:19:27 2020 +0100
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Nov 22 12:51:26 2020 +0100

    Some few more corrections over starmath color stuff.
    
    Change-Id: If00138f35b79754d4bb3db1b37c87816bd89479a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106340
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 9408e62dbdfa..9b3b3b64288e 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -1632,6 +1632,7 @@ void SmFontNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat)
         case TRGB :
         case TRGBA :
         case THTMLCOL :
+        case TMATHMLCOL :
         case TDVIPSNAMESCOL:
         case TICONICCOL :
         case THEX :
diff --git a/starmath/source/starmathdatabase.cxx b/starmath/source/starmathdatabase.cxx
index 43ea4cd06443..d0e61820acc8 100644
--- a/starmath/source/starmathdatabase.cxx
+++ b/starmath/source/starmathdatabase.cxx
@@ -443,7 +443,7 @@ const SmColorTokenTableEntry starmathdatabase::aColorTokenTableParse[]
         { "lightslategrey", "lightslategrey", THTMLCOL, COL_SM_LIGHTSLATEGREY },
         { "lightsteelblue", "lightsteelblue", THTMLCOL, COL_SM_LIGHTSTEELBLUE },
         { "lightyellow", "lightyellow", THTMLCOL, COL_SM_LIGHTYELLOW },
-        { "lime", "lime", THTMLCOL, COL_SM_LIME },
+        { "lime", "lime", TMATHMLCOL, COL_SM_LIME },
         { "limegreen", "limegreen", THTMLCOL, COL_SM_LIMEGREEN },
         { "linen", "linen", THTMLCOL, COL_SM_LINEN },
         { "lo", "", TICONICCOL, COL_SM_LO_GREEN },


More information about the Libreoffice-commits mailing list