summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-04 15:34:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-07 18:08:51 +0200
commit3e15dd2915f6f0ebb485781e837f1d9c94268b68 (patch)
treed7d864b7e19f939856db2755437f7b7da1622f88 /starmath/inc
parent10510c002229c63ebf04b3b2a78b3f48fd95311c (diff)
use more unique_ptr in SmParser
Change-Id: I132598f5829e02664040dff745011a59c6a19c1d Reviewed-on: https://gerrit.libreoffice.org/61401 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/parse.hxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 17e20b4cdaea..851512030c5b 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -89,27 +89,27 @@ class SmParser
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();
+ std::unique_ptr<SmBlankNode> DoBlank();
+ std::unique_ptr<SmNode> DoTerm(bool bGroupNumberIdent);
+ std::unique_ptr<SmNode> DoEscape();
+ std::unique_ptr<SmOperNode> DoOperator();
std::unique_ptr<SmNode> DoOper();
- SmStructureNode *DoUnOper();
+ std::unique_ptr<SmStructureNode> DoUnOper();
std::unique_ptr<SmNode> DoAlign(bool bUseExtraSpaces = true);
std::unique_ptr<SmStructureNode> DoFontAttribut();
std::unique_ptr<SmStructureNode> DoAttribut();
std::unique_ptr<SmStructureNode> DoFont();
std::unique_ptr<SmStructureNode> DoFontSize();
std::unique_ptr<SmStructureNode> DoColor();
- SmStructureNode *DoBrace();
- SmBracebodyNode *DoBracebody(bool bIsLeftRight);
- SmTextNode *DoFunction();
- SmTableNode *DoBinom();
- SmStructureNode *DoStack();
- SmStructureNode *DoMatrix();
- SmSpecialNode *DoSpecial();
- SmGlyphSpecialNode *DoGlyphSpecial();
- SmExpressionNode *DoError(SmParseError Error);
+ std::unique_ptr<SmStructureNode> DoBrace();
+ std::unique_ptr<SmBracebodyNode> DoBracebody(bool bIsLeftRight);
+ std::unique_ptr<SmTextNode> DoFunction();
+ std::unique_ptr<SmTableNode> DoBinom();
+ std::unique_ptr<SmStructureNode> DoStack();
+ std::unique_ptr<SmStructureNode> DoMatrix();
+ std::unique_ptr<SmSpecialNode> DoSpecial();
+ std::unique_ptr<SmGlyphSpecialNode> DoGlyphSpecial();
+ std::unique_ptr<SmExpressionNode> DoError(SmParseError Error);
// end of grammar
public: