diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-03-16 12:27:05 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-03-16 06:51:55 +0000 |
commit | 51cf59ca9e45bc256222671effbcd90d88befbe8 (patch) | |
tree | 32bcc3897665074008382c952abd403e83361aba /starmath/inc | |
parent | 6742500ccb2ff6d39f527760152d2b08fd9cfe17 (diff) |
starmath: Return SmStructureNode from DoAttribut()/DoFontAttribut()
This spares a pair of push and pop of the stack.
Change-Id: Ic5f1ee0ee158779f2f231dab9f7059ce6618bdcb
Reviewed-on: https://gerrit.libreoffice.org/35245
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/parse.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index afb4d9c5aa8f..14f0c2e3c27c 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -77,11 +77,11 @@ class SmParser void DoOper(); void DoUnOper(); void DoAlign(); - void DoFontAttribut(); - void DoAttribut(); - void DoFont(); - void DoFontSize(); - void DoColor(); + SmStructureNode *DoFontAttribut(); + SmAttributNode *DoAttribut(); + SmStructureNode *DoFont(); + SmStructureNode *DoFontSize(); + SmStructureNode *DoColor(); void DoBrace(); SmBracebodyNode *DoBracebody(bool bIsLeftRight); void DoFunction(); |