diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-12-31 05:28:26 +0900 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2016-12-31 10:04:44 +0000 |
commit | fc0d4e6bc43d5f982452df07930f5ecf5927ad22 (patch) | |
tree | 49db34b0895e0f0ebe428f3dd075ebe72de38b71 /starmath/inc | |
parent | 63133848be96df0a22de5b51a9b8d1cb2565c28a (diff) |
starmath: Prefix member of SmCloningVisitor
Change-Id: I21511074a4dd2d0bf410401dfce7c43437824979
Reviewed-on: https://gerrit.libreoffice.org/32526
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/visitors.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index cde5fce2b8e7..6b2f63a155d2 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -334,7 +334,9 @@ private: class SmCloningVisitor : public SmVisitor { public: - SmCloningVisitor( ){ pResult = nullptr; } + SmCloningVisitor() + : mpResult(nullptr) + {} virtual ~SmCloningVisitor() {} void Visit( SmTableNode* pNode ) override; void Visit( SmBraceNode* pNode ) override; @@ -366,7 +368,7 @@ public: /** Clone a pNode */ SmNode* Clone( SmNode* pNode ); private: - SmNode* pResult; + SmNode* mpResult; /** Clone children of pSource and give them to pTarget */ void CloneKids( SmStructureNode* pSource, SmStructureNode* pTarget ); /** Clone attributes on a pNode */ |