#include "lyxfunc.h"
#include "LyXView.h"
+using std::endl;
+using std::pair;
LyXVC::LyXVC()
{
fl_hide_form(browser->LaTeXLog);
fl_free_form(browser->LaTeXLog);
}
- if (vcs) { // DEL LINE
- delete vcs;
- } // DEL LINE
+ delete vcs;
}
}
lyxerr[Debug::LYXVC] << "LyXVC: registrer" << endl;
- pair<bool, string> tmp = askForText(_("LyX VC: Initial description"),
- _("(no initial description)"));
+ pair<bool, string> tmp =
+ askForText(_("LyX VC: Initial description"),
+ _("(no initial description)"));
if (!tmp.first || tmp.second.empty()) {
// should we insist on checking tmp.second.empty()?
lyxerr[Debug::LYXVC] << "LyXVC: user cancelled" << endl;
void LyXVC::toggleReadOnly()
{
- switch (vcs->stat()) {
+ switch (vcs->status()) {
case VCS::UNLOCKED:
lyxerr[Debug::LYXVC] << "LyXVC: toggle to locked" << endl;
checkOut();