[Libreoffice-commits] core.git: starmath/inc
Takeshi Abe
tabe at fixedpoint.jp
Mon Oct 3 10:07:57 UTC 2016
starmath/inc/parse.hxx | 4 ++--
starmath/inc/token.hxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit bd631f933cf2f5a515abc303c277c1197aa54200
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Mon Oct 3 09:59:25 2016 +0900
starmath: Add comments on indexing
Change-Id: Ic87d04f65f8272832c8742f99821876cc28bb514
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index b3669dd..7d67931 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 eea2262..7bf4da9 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,
More information about the Libreoffice-commits
mailing list