]> git.lyx.org Git - lyx.git/blobdiff - src/LyXVC.cpp
Properly restore the file encoding after a LaTeX environment with local scope.
[lyx.git] / src / LyXVC.cpp
index c7040a84c98a8c0239ee73112784cf9cc3d10d2e..a8455546642642b632bd8bc0a1319f1837e08fbc 100644 (file)
@@ -170,6 +170,13 @@ string LyXVC::checkOut()
 }
 
 
+string LyXVC::lockingToggle()
+{
+       LYXERR(Debug::LYXVC, "LyXVC: toggle locking property");
+       return vcs->lockingToggle();
+}
+
+
 void LyXVC::revert()
 {
        LYXERR(Debug::LYXVC, "LyXVC: revert");
@@ -266,6 +273,12 @@ bool LyXVC::checkInEnabled()
 }
 
 
+bool LyXVC::lockingToggleEnabled()
+{
+       return vcs && vcs->lockingToggleEnabled();
+}
+
+
 bool LyXVC::undoLastEnabled()
 {
        return vcs && vcs->undoLastEnabled();