From a158742c0231b348b4663b9900e7da95e05cde48 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 13 Mar 2010 21:22:03 +0000 Subject: Adding const to methods where possible. --- 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 ac327dfad..de499ad68 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -455,7 +455,7 @@ int CellBuffer::LineStart(int line) const { return lv.LineStart(line); } -bool CellBuffer::IsReadOnly() { +bool CellBuffer::IsReadOnly() const { return readOnly; } @@ -586,7 +586,7 @@ bool CellBuffer::SetUndoCollection(bool collectUndo) { return collectingUndo; } -bool CellBuffer::IsCollectingUndo() { +bool CellBuffer::IsCollectingUndo() const { return collectingUndo; } -- cgit v1.2.3