summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/parse.hxx4
-rw-r--r--starmath/inc/token.hxx4
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,