From 70f034497b5ffb61e86d0814de94949e72a1908e Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 18 Mar 2017 21:33:34 +0900 Subject: starmath: Make DoTerm() return the top of the stack without pushing it. Client code do it instead, so no logic changes. Change-Id: I7ea95b4bddc4e1ef7270cfe02d4f8ad3dc1f19d0 Reviewed-on: https://gerrit.libreoffice.org/35400 Tested-by: Jenkins Reviewed-by: Takeshi Abe --- starmath/inc/parse.hxx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'starmath/inc') diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index 14f0c2e3c27c..b4dc0a133206 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -70,25 +70,25 @@ class SmParser void DoSubSup(TG nActiveGroup); void DoOpSubSup(); void DoPower(); - void DoBlank(); - void DoTerm(bool bGroupNumberIdent); - void DoEscape(); - void DoOperator(); + SmBlankNode *DoBlank(); + SmNode *DoTerm(bool bGroupNumberIdent); + SmNode *DoEscape(); + SmOperNode *DoOperator(); void DoOper(); - void DoUnOper(); + SmStructureNode *DoUnOper(); void DoAlign(); SmStructureNode *DoFontAttribut(); SmAttributNode *DoAttribut(); SmStructureNode *DoFont(); SmStructureNode *DoFontSize(); SmStructureNode *DoColor(); - void DoBrace(); + SmStructureNode *DoBrace(); SmBracebodyNode *DoBracebody(bool bIsLeftRight); - void DoFunction(); - void DoBinom(); - void DoStack(); - void DoMatrix(); - void DoSpecial(); + SmTextNode *DoFunction(); + SmTableNode *DoBinom(); + SmStructureNode *DoStack(); + SmStructureNode *DoMatrix(); + SmSpecialNode *DoSpecial(); SmGlyphSpecialNode *DoGlyphSpecial(); SmExpressionNode *DoError(SmParseError Error); // end of grammar -- cgit