From 280aa181def7e04ddaedf41eca55c84ee4158b6c Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Tue, 26 May 2015 00:20:20 +0900 Subject: [PATCH] kill forgotten, unused TDEBUG token MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I remember that, before LibreOffice 4, "MZ23" used to be a magic string which we could not see in the preview window as if there was no node. Change-Id: If80b77e1e24a2c5f8b3528fac8e9209b8c0b5954 Reviewed-on: https://gerrit.libreoffice.org/15893 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- starmath/inc/token.hxx | 9 ++++----- starmath/source/parse.cxx | 1 - 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/starmath/inc/token.hxx b/starmath/inc/token.hxx index ec01bcf65030..dbc24d5c35e0 100644 --- a/starmath/inc/token.hxx +++ b/starmath/inc/token.hxx @@ -91,11 +91,10 @@ enum SmTokenType /*210*/ TDIVIDES, TNDIBVIDES, TSETN, TSETZ, TSETQ, /*215*/ TSETR, TSETC, TWIDEVEC, TWIDETILDE, TWIDEHAT, /*220*/ TWIDESLASH, TWIDEBACKSLASH, TLDBRACKET, TRDBRACKET, TNOSPACE, -/*225*/ TUNKNOWN, TDEBUG, TPRECEDES, TSUCCEEDS, TPRECEDESEQUAL, -/*230*/ TSUCCEEDSEQUAL, TPRECEDESEQUIV, TSUCCEEDSEQUIV, TNOTPRECEDES, TNOTSUCCEEDS, -/*235*/ TSILVER, TGRAY, TMAROON, TPURPLE, TLIME, -/*240*/ TOLIVE, TNAVY, TTEAL, TAQUA, TFUCHSIA, -/*245*/ TINTD +/*225*/ TUNKNOWN, TPRECEDES, TSUCCEEDS, TPRECEDESEQUAL, TSUCCEEDSEQUAL, +/*230*/ TPRECEDESEQUIV, TSUCCEEDSEQUIV, TNOTPRECEDES, TNOTSUCCEEDS, TSILVER, +/*235*/ TGRAY, TMAROON, TPURPLE, TLIME, TOLIVE, +/*240*/ TNAVY, TTEAL, TAQUA, TFUCHSIA, TINTD }; struct SmToken diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index fb7ac7337f80..d70ca9dacb4f 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -60,7 +60,6 @@ SmToken::SmToken(SmTokenType eTokenType, static const SmTokenTableEntry aTokenTable[] = { { "Im" , TIM, MS_IM, TGSTANDALONE, 5 }, - { "MZ23", TDEBUG, '\0', TGATTRIBUT, 0 }, { "Re" , TRE, MS_RE, TGSTANDALONE, 5 }, { "abs", TABS, '\0', TGUNOPER, 13 }, { "arcosh", TACOSH, '\0', TGFUNCTION, 5 },