]> git.lyx.org Git - features.git/commitdiff
Remove const modifier from the correct function.
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 25 Oct 2009 14:00:29 +0000 (14:00 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 25 Oct 2009 14:00:29 +0000 (14:00 +0000)
see r31737.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31738 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index 0152f4acb2a11b6b84528860585bf169a44984cf..11c9231bb651b4be4cc1a87c67feae6cbd6f7920 100644 (file)
@@ -524,7 +524,7 @@ string Buffer::logName(LogType * type) const
 }
 
 
-void Buffer::setReadonly(bool const flag) const
+void Buffer::setReadonly(bool const flag)
 {
        if (d->read_only != flag) {
                d->read_only = flag;
@@ -2261,7 +2261,7 @@ string Buffer::filePath() const
 }
 
 
-bool Buffer::isReadonly()
+bool Buffer::isReadonly() const
 {
        return d->read_only;
 }