summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-04-05 19:10:28 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-04-05 12:55:20 +0000
commit51de452ef613a50637b839f088860d6c654fd91d (patch)
treebdb94da66c66da988ee964b0c2b2d71d4385eb82 /starmath/inc
parente1b31fbe6bdf9f02e3ebeb42891bbab77085ed68 (diff)
starmath: Kill newly unused m_aNodeStack
which now has been replaced naturally with the call stack of SmParser functions. Change-Id: I970a350aae6927c6d13ed4917aa29bce3888a3fe Reviewed-on: https://gerrit.libreoffice.org/36136 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/parse.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 4911e8516a81..1bcef035d5b2 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -33,7 +33,6 @@ class SmParser
{
OUString m_aBufferString;
SmToken m_aCurToken;
- SmNodeStack m_aNodeStack;
std::vector<std::unique_ptr<SmErrorDesc>> m_aErrDescList;
int m_nCurError;
sal_Int32 m_nBufferIndex,
@@ -62,7 +61,7 @@ class SmParser
// grammar
SmTableNode *DoTable();
- void DoLine();
+ SmLineNode *DoLine();
SmNode *DoExpression(bool bUseExtraSpaces = true);
SmNode *DoRelation();
SmNode *DoSum();
@@ -93,8 +92,6 @@ class SmParser
SmExpressionNode *DoError(SmParseError Error);
// end of grammar
- void Error(SmParseError Error);
-
public:
SmParser();