diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-03-23 12:10:46 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-03-23 04:20:59 +0000 |
commit | faeda4e29e0be16050dd919a62ecf69a4ffdf2f8 (patch) | |
tree | 346d720d3effe2ea1446eda3159fdcfa4fb64ad6 /starmath/inc/parse.hxx | |
parent | 1670cc25bc2771e87f7956a4b0dd634abaa4128b (diff) |
starmath: Make DoProduct()/DoSum()/DoRelation() return SmNode
to reduce an excessive number of stack operations.
Change-Id: Ia4ef08dce76d318c56bf7d112f686e13d1b2660e
Reviewed-on: https://gerrit.libreoffice.org/35551
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc/parse.hxx')
-rw-r--r-- | starmath/inc/parse.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index d158c3995151..8872b8edac9a 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -64,9 +64,9 @@ class SmParser SmTableNode *DoTable(); void DoLine(); SmNode *DoExpression(); - void DoRelation(); - void DoSum(); - void DoProduct(); + SmNode *DoRelation(); + SmNode *DoSum(); + SmNode *DoProduct(); SmNode *DoSubSup(TG nActiveGroup, SmNode *pGivenNode); SmNode *DoOpSubSup(); SmNode *DoPower(); |