summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2018-02-06 17:47:59 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2018-02-07 01:36:57 +0100
commitf0c171a1dd2698f5bec14f5cf00136477032c202 (patch)
tree0c93f240ad27dce5dd0d6b6b83792be34a660517 /starmath/inc
parentb1069ea6f25daa268eb4358d5ea20094b46ef347 (diff)
starmath: Make SmParser::DoLine() etc. return std::unique_ptr
Change-Id: Ia85f66d3490471d7e0c2ce8a1947051be129acf9 Reviewed-on: https://gerrit.libreoffice.org/49276 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/parse.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index e3ec707d8bf4..ef51bcc61bdc 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -79,19 +79,19 @@ class SmParser
// grammar
std::unique_ptr<SmTableNode> DoTable();
- SmLineNode *DoLine();
+ std::unique_ptr<SmNode> DoLine();
std::unique_ptr<SmNode> DoExpression(bool bUseExtraSpaces = true);
- SmNode *DoRelation();
- SmNode *DoSum();
- SmNode *DoProduct();
- SmNode *DoSubSup(TG nActiveGroup, SmNode *pGivenNode);
- SmNode *DoOpSubSup();
- SmNode *DoPower();
+ std::unique_ptr<SmNode> DoRelation();
+ std::unique_ptr<SmNode> DoSum();
+ std::unique_ptr<SmNode> DoProduct();
+ std::unique_ptr<SmNode> DoSubSup(TG nActiveGroup, SmNode *pGivenNode);
+ std::unique_ptr<SmNode> DoOpSubSup();
+ std::unique_ptr<SmNode> DoPower();
SmBlankNode *DoBlank();
SmNode *DoTerm(bool bGroupNumberIdent);
SmNode *DoEscape();
SmOperNode *DoOperator();
- SmNode *DoOper();
+ std::unique_ptr<SmNode> DoOper();
SmStructureNode *DoUnOper();
std::unique_ptr<SmNode> DoAlign(bool bUseExtraSpaces = true);
SmStructureNode *DoFontAttribut();