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

Takeshi Abe tabe at fixedpoint.jp
Sun May 8 10:34:30 UTC 2016


 starmath/source/parse.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 6cd62368915466a2b2054cffb172fd368a6b329d
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri May 6 17:40:29 2016 +0900

    starmath: Drop useless last entry of aTokenTable
    
    Change-Id: I3189c875cc8b2046f5a0353fb641a7d6ea9fdd9a
    Reviewed-on: https://gerrit.libreoffice.org/24692
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>

diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index a541893..b2bb9bb 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -288,8 +288,7 @@ static const SmTokenTableEntry aTokenTable[] =
     { "wideslash", TWIDESLASH, MS_SLASH, TGPRODUCT, 0 },
     { "widevec", TWIDEVEC, MS_VEC, TGATTRIBUT, 5},
     { "wp" , TWP, MS_WP, TGSTANDALONE, 5},
-    { "yellow", TYELLOW, '\0', TGCOLOR, 0},
-    { "", TEND, '\0', 0, 0}
+    { "yellow", TYELLOW, '\0', TGCOLOR, 0}
 };
 
 const SmTokenTableEntry * SmParser::GetTokenTableEntry( const OUString &rName )


More information about the Libreoffice-commits mailing list