diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2018-02-05 18:01:21 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2018-02-06 00:30:25 +0100 |
commit | 715114595e0feec49c4d54cc5eb26f13dccb7968 (patch) | |
tree | 68f8719a0dd7c9ee5088b02c1d327ccb22f37aaf /starmath/inc | |
parent | tdf#112239: Add icons to customize dialog function tree (diff) | |
download | core-715114595e0feec49c4d54cc5eb26f13dccb7968.tar.gz core-715114595e0feec49c4d54cc5eb26f13dccb7968.zip |
starmath: Make DoAlign() return std::unique_ptr
to take advantage of copy elision and simplify client code.
Change-Id: I9e08bc2b9743563f483657c7348abca05dd34c85
Reviewed-on: https://gerrit.libreoffice.org/49222
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index a2faa73a3b40..e3ec707d8bf4 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -93,7 +93,7 @@ class SmParser SmOperNode *DoOperator(); SmNode *DoOper(); SmStructureNode *DoUnOper(); - SmNode *DoAlign(bool bUseExtraSpaces = true); + std::unique_ptr<SmNode> DoAlign(bool bUseExtraSpaces = true); SmStructureNode *DoFontAttribut(); SmAttributNode *DoAttribut(); SmStructureNode *DoFont(); |