From 85237dd55cd67cf9f72a751f5a275a910350e5cd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 24 May 2013 00:04:54 +1000 Subject: Made methods const where they can be and are logically const as well. --- src/CellBuffer.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/CellBuffer.cxx') diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 769f72464..694260821 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -496,7 +496,7 @@ void CellBuffer::SetSavePoint() { uh.SetSavePoint(); } -bool CellBuffer::IsSavePoint() { +bool CellBuffer::IsSavePoint() const { return uh.IsSavePoint(); } @@ -728,7 +728,7 @@ void CellBuffer::DeleteUndoHistory() { uh.DeleteUndoHistory(); } -bool CellBuffer::CanUndo() { +bool CellBuffer::CanUndo() const { return uh.CanUndo(); } @@ -750,7 +750,7 @@ void CellBuffer::PerformUndoStep() { uh.CompletedUndoStep(); } -bool CellBuffer::CanRedo() { +bool CellBuffer::CanRedo() const { return uh.CanRedo(); } -- cgit v1.2.3