#include <algorithm>
-using std::find;
-using std::string;
-using std::vector;
-
+using namespace std;
+using namespace lyx::support;
namespace lyx {
-using support::bformat;
-using support::FileName;
-using support::makeDisplayPath;
-using support::onlyFilename;
-using support::onlyPath;
-using support::package;
-using support::prefixIs;
-
namespace Alert = frontend::Alert;
/// ask the user what to do if a file already exists
}
Mover const & mover = getMover(format);
- if (!mover.copy(sourceFile, destFile, latexFile))
+ if (!mover.copy(sourceFile, destFile))
Alert::error(_("Couldn't copy file"),
bformat(_("Copying %1$s to %2$s failed."),
makeDisplayPath(sourceFile.absFilename()),