diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-12-05 20:41:27 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-12-05 16:58:29 +0000 |
commit | 59a59de8beef6397370f050b4572da61b95e4d7c (patch) | |
tree | 2ea0a1f6a545d289f4b41f2a0efffa437db9c757 /starmath/source | |
parent | d78f29ab3f40cfaf8c975005fceba93a193b28e5 (diff) |
starmath: Prefix members of SmStructureNode
Change-Id: I58f6ca7585ef726d4ac3f555118832a4434f4e3c
Reviewed-on: https://gerrit.libreoffice.org/31629
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/node.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 0cbb60b3f206..a37236db4224 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -381,13 +381,13 @@ SmStructureNode::~SmStructureNode() void SmStructureNode::SetSubNodes(SmNode *pFirst, SmNode *pSecond, SmNode *pThird) { size_t nSize = pThird ? 3 : (pSecond ? 2 : (pFirst ? 1 : 0)); - aSubNodes.resize( nSize ); + maSubNodes.resize( nSize ); if (pFirst) - aSubNodes[0] = pFirst; + maSubNodes[0] = pFirst; if (pSecond) - aSubNodes[1] = pSecond; + maSubNodes[1] = pSecond; if (pThird) - aSubNodes[2] = pThird; + maSubNodes[2] = pThird; ClaimPaternity(); } @@ -395,7 +395,7 @@ void SmStructureNode::SetSubNodes(SmNode *pFirst, SmNode *pSecond, SmNode *pThir void SmStructureNode::SetSubNodes(const SmNodeArray &rNodeArray) { - aSubNodes = rNodeArray; + maSubNodes = rNodeArray; ClaimPaternity(); } @@ -408,13 +408,13 @@ bool SmStructureNode::IsVisible() const sal_uInt16 SmStructureNode::GetNumSubNodes() const { - return sal::static_int_cast<sal_uInt16>(aSubNodes.size()); + return sal::static_int_cast<sal_uInt16>(maSubNodes.size()); } SmNode * SmStructureNode::GetSubNode(sal_uInt16 nIndex) { - return aSubNodes[nIndex]; + return maSubNodes[nIndex]; } |