From 68a51b24951be7fecaa63552c7e6c7045961a7fb Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 5 May 2010 23:37:40 +0000 Subject: Made some methods const. --- src/CellBuffer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CellBuffer.cxx') diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 4d0f829c9..064ef1a2a 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -341,7 +341,7 @@ char CellBuffer::CharAt(int position) const { return substance.ValueAt(position); } -void CellBuffer::GetCharRange(char *buffer, int position, int lengthRetrieve) { +void CellBuffer::GetCharRange(char *buffer, int position, int lengthRetrieve) const { if (lengthRetrieve < 0) return; if (position < 0) @@ -357,7 +357,7 @@ void CellBuffer::GetCharRange(char *buffer, int position, int lengthRetrieve) { } } -char CellBuffer::StyleAt(int position) { +char CellBuffer::StyleAt(int position) const { return style.ValueAt(position); } -- cgit v1.2.3