diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-10-03 09:59:25 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-10-03 18:57:11 +0900 |
commit | bd631f933cf2f5a515abc303c277c1197aa54200 (patch) | |
tree | ff6699c0f1c1aa94f1b2bd18eb11ae0e8c3959c4 /starmath | |
parent | db29cdcc70ba792ed54e0957929b4524816b1fb3 (diff) |
starmath: Add comments on indexing
Change-Id: Ic87d04f65f8272832c8742f99821876cc28bb514
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/parse.hxx | 4 | ||||
-rw-r--r-- | starmath/inc/token.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index b3669dd1bd05..7d679310cc6c 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -38,8 +38,8 @@ class SmParser int m_nCurError; sal_Int32 m_nBufferIndex, m_nTokenIndex; - sal_Int32 m_nRow, - m_nColOff; + sal_Int32 m_nRow, // 1-based + m_nColOff; // 0-based bool m_bImportSymNames, m_bExportSymNames; diff --git a/starmath/inc/token.hxx b/starmath/inc/token.hxx index eea2262c5f59..7bf4da95f31f 100644 --- a/starmath/inc/token.hxx +++ b/starmath/inc/token.hxx @@ -114,8 +114,8 @@ struct SmToken sal_uInt16 nLevel; // token position - sal_Int32 nRow; - sal_Int32 nCol; + sal_Int32 nRow; // 1-based + sal_Int32 nCol; // 1-based SmToken(); SmToken(SmTokenType eTokenType, |