X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fvc-backend.C;h=8ec387e2975d00c89a3c2e43676a1c92d52a45e8;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=8e8c43a15c5259ab51eba67894a8602f6a3c034e;hpb=179ff08011620faa94ff186bdb30ae2d9639e4e7;p=lyx.git diff --git a/src/vc-backend.C b/src/vc-backend.C index 8e8c43a15c..8ec387e297 100644 --- a/src/vc-backend.C +++ b/src/vc-backend.C @@ -25,15 +25,18 @@ #include -using lyx::support::addName; -using lyx::support::addPath; -using lyx::support::contains; -using lyx::support::onlyFilename; -using lyx::support::onlyPath; -using lyx::support::quoteName; -using lyx::support::rtrim; -using lyx::support::split; -using lyx::support::Systemcall; + +namespace lyx { + +using support::addName; +using support::addPath; +using support::contains; +using support::onlyFilename; +using support::onlyPath; +using support::quoteName; +using support::rtrim; +using support::split; +using support::Systemcall; using boost::regex; using boost::regex_match; @@ -56,7 +59,7 @@ int VCS::doVCCommand(string const & cmd, string const & path) { lyxerr[Debug::LYXVC] << "doVCCommand: " << cmd << endl; Systemcall one; - lyx::support::Path p(path); + support::Path p(path); int const ret = one.startscript(Systemcall::Wait, cmd); return ret; } @@ -71,7 +74,7 @@ RCS::RCS(string const & m) string const RCS::find_file(string const & file) { - string tmp(file); + string tmp = file; // Check if *,v exists. tmp += ",v"; lyxerr[Debug::LYXVC] << "Checking if file is under rcs: " @@ -349,3 +352,6 @@ void CVS::getLog(string const & tmpf) + " > " + tmpf, owner_->filePath()); } + + +} // namespace lyx