From 1b2967ee84232e3053eb6d7299f11982b91d6d81 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.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CellBuffer.h') diff --git a/src/CellBuffer.h b/src/CellBuffer.h index 3381c19c2..93202c9b5 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -170,7 +170,7 @@ public: const char *DeleteChars(int position, int deleteLength, bool &startSequence); - bool IsReadOnly(); + bool IsReadOnly() const; void SetReadOnly(bool set); /// The save point is a marker in the undo stack where the container has stated that @@ -183,7 +183,7 @@ public: void BasicDeleteChars(int position, int deleteLength); bool SetUndoCollection(bool collectUndo); - bool IsCollectingUndo(); + bool IsCollectingUndo() const; void BeginUndoAction(); void EndUndoAction(); void AddUndoAction(int token, bool mayCoalesce); -- cgit v1.2.3