[Libreoffice-commits] core.git: starmath/inc starmath/source
Takeshi Abe
tabe at fixedpoint.jp
Tue May 26 01:12:28 PDT 2015
starmath/inc/token.hxx | 9 ++++-----
starmath/source/parse.cxx | 1 -
2 files changed, 4 insertions(+), 6 deletions(-)
New commits:
commit 280aa181def7e04ddaedf41eca55c84ee4158b6c
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Tue May 26 00:20:20 2015 +0900
kill forgotten, unused TDEBUG token
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 <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/starmath/inc/token.hxx b/starmath/inc/token.hxx
index ec01bcf..dbc24d5 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 fb7ac73..d70ca9d 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 },
More information about the Libreoffice-commits
mailing list