summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-09 09:44:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-09 12:29:03 +0100
commite2342ca5155f27637770fc392916804c8ac4728f (patch)
tree0a901d64ead29afb2e0d169416b2487defd20244 /starmath/inc
parentdc4443a3696fa13914bc47251a9d6d832eed7338 (diff)
ofz#30663 Direct-leak
since... commit 17149f65f03a34e88bb4a10abcd20e6891f5d7ca Date: Sun Feb 7 10:41:46 2021 +0100 Let depthGuard handle everything Change-Id: Icb978724000aec75a84ca6ecfd0fe9e299291db6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110623 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/parse.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 591db3637714..6349dc8c479f 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -148,8 +148,8 @@ class SmParser
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> DoSubSupEvaluate(SmNode *pGivenNode);
+ std::unique_ptr<SmNode> DoSubSup(TG nActiveGroup, std::unique_ptr<SmNode> xGivenNode);
+ std::unique_ptr<SmNode> DoSubSupEvaluate(std::unique_ptr<SmNode> xGivenNode);
std::unique_ptr<SmNode> DoOpSubSup();
std::unique_ptr<SmNode> DoPower();
std::unique_ptr<SmBlankNode> DoBlank();