summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-03-22 19:56:43 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-03-22 12:25:23 +0000
commit19c4103fa5731a7fecc9657a83c5c917c0f8e162 (patch)
tree8f91706d289a3d0c80520388e17926f4f2414cc7 /starmath/inc
parent857b4ba8eda084c768bb549334f38af9f9653b01 (diff)
starmath: Make DoOpSubSup() return SmNode
This spares a pair of push and pop of the stack. Change-Id: I046402c2e975a6b5f4148960a9daffa15cc55ff3 Reviewed-on: https://gerrit.libreoffice.org/35532 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/parse.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 1b96c159ed70..6c3e7dbe7a78 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -68,7 +68,7 @@ class SmParser
void DoSum();
void DoProduct();
SmNode *DoSubSup(TG nActiveGroup, SmNode *pGivenNode);
- void DoOpSubSup();
+ SmNode *DoOpSubSup();
void DoPower();
SmBlankNode *DoBlank();
SmNode *DoTerm(bool bGroupNumberIdent);