diff options
| author | nyamatongwe <devnull@localhost> | 2010-05-05 23:53:54 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-05-05 23:53:54 +0000 |
| commit | af262b3588054c1390ff90b494310b93fad0bd5b (patch) | |
| tree | 747a4322385c007e924f4618f0b3b73df77ef889 /src/Document.cxx | |
| parent | 14de7da286450b681664fb0b04770dc70fb62ec6 (diff) | |
| download | scintilla-mirror-af262b3588054c1390ff90b494310b93fad0bd5b.tar.gz | |
Made some methods const.
Diffstat (limited to 'src/Document.cxx')
| -rw-r--r-- | src/Document.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index da566c7af..3c90d1f42 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -258,7 +258,7 @@ int Document::SetLevel(int line, int level) { return prev; } -int Document::GetLevel(int line) { +int Document::GetLevel(int line) const { return static_cast<LineLevels *>(perLineData[ldLevels])->GetLevel(line); } @@ -1367,7 +1367,7 @@ int Document::SetLineState(int line, int state) { return statePrevious; } -int Document::GetLineState(int line) { +int Document::GetLineState(int line) const { return static_cast<LineState *>(perLineData[ldState])->GetLineState(line); } |
