]> git.lyx.org Git - features.git/commitdiff
VCS: constify, thanks Andre
authorPavel Sanda <sanda@lyx.org>
Sun, 1 Feb 2009 23:23:01 +0000 (23:23 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 1 Feb 2009 23:23:01 +0000 (23:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28314 a592a061-630c-0410-9148-cb99ea01b6c8

src/VCBackend.cpp
src/VCBackend.h

index aed6d012682f3ab1ea9158199e8280ba2ed5bde1..cd99030e2a58a7f6bf3145d2e8097be7a6ebbc8b 100644 (file)
@@ -501,7 +501,7 @@ bool SVN::checkLockMode()
 }
 
 
-bool SVN::isLocked()
+bool SVN::isLocked() const
 {
        //refresh file info
        FileName file(file_.absFilename());
index ac22f83ed1e2ef5568f22ce24d478629d3d8ae1b..fd661ac7fc156efaf05cc3a8b33380da77a5e886 100644 (file)
@@ -229,7 +229,7 @@ protected:
        /// checks locking policy and setup locked_mode_
        bool checkLockMode();
        /// is the loaded file locked?
-       bool isLocked();
+       bool isLocked() const;
        /// acquire/release write lock for the current file
        void fileLock(bool lock, support::FileName const & tmpf, std::string & status);