]> git.lyx.org Git - lyx.git/blobdiff - src/Exporter.cpp
Further to r26743, add CustomPars and ForcePlain layout tags to InsetLayout,
[lyx.git] / src / Exporter.cpp
index 6857c87ee15a6203e99ab8406e9c6f49e9a4adab..2c9e4e6e455b1eebac5fa44f53b88ff931e0aea7 100644 (file)
 
 #include "Exporter.h"
 
-#include "gettext.h"
 #include "Mover.h"
+
 #include "frontends/alert.h"
 
 #include "support/filetools.h"
+#include "support/gettext.h"
 #include "support/lstrings.h"
 #include "support/Package.h"
 
 #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
@@ -95,7 +86,7 @@ CopyStatus copyFile(string const & format,
        }
 
        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()),