summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authordante <dante19031999@gmail.com>2020-11-22 10:19:27 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-22 12:51:26 +0100
commitb0677fa342c1236e6404ba59f19d73ac0ba0bd3d (patch)
tree58b576279931ca61072a42575660bba577d3be08 /starmath
parent5ed43ebfbb9406040a2d8eb7869b051f3e99293a (diff)
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@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/node.cxx1
-rw-r--r--starmath/source/starmathdatabase.cxx2
2 files changed, 2 insertions, 1 deletions
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 },