From b0677fa342c1236e6404ba59f19d73ac0ba0bd3d Mon Sep 17 00:00:00 2001 From: dante Date: Sun, 22 Nov 2020 10:19:27 +0100 Subject: 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 --- starmath/source/node.cxx | 1 + starmath/source/starmathdatabase.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 }, -- cgit