summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-11-21 16:20:18 +0900
committerKhaled Hosny <khaledhosny@eglug.org>2016-11-23 00:36:22 +0000
commit803ad61c80220ab28c3fb14cfae0985f30b8b868 (patch)
treea0d129d7aac5c07c64c90c4431f7117eba0a1136 /starmath/inc
parentf965a629fba10ecba7bad938a0c1c9c3db1e510d (diff)
starmath: Prefix members of SmNodeMatrix
Change-Id: I76c7e34878b9d2bc74d2499cf65448f0dd3a17b3 Reviewed-on: https://gerrit.libreoffice.org/31034 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/node.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index c0e5de4ed2d5..29c9ccb5556d 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -1091,18 +1091,19 @@ public:
*/
class SmMatrixNode : public SmStructureNode
{
- sal_uInt16 nNumRows,
- nNumCols;
+ sal_uInt16 mnNumRows,
+ mnNumCols;
public:
explicit SmMatrixNode(const SmToken &rNodeToken)
- : SmStructureNode(NMATRIX, rNodeToken)
+ : SmStructureNode(NMATRIX, rNodeToken)
+ , mnNumRows(0)
+ , mnNumCols(0)
{
- nNumRows = nNumCols = 0;
}
- sal_uInt16 GetNumRows() const {return nNumRows;}
- sal_uInt16 GetNumCols() const {return nNumCols;}
+ sal_uInt16 GetNumRows() const {return mnNumRows;}
+ sal_uInt16 GetNumCols() const {return mnNumCols;}
void SetRowCol(sal_uInt16 nMatrixRows, sal_uInt16 nMatrixCols);
virtual const SmNode * GetLeftMost() const override;