]> git.lyx.org Git - lyx.git/blobdiff - src/Exporter.cpp
This should do it for the delimiters.
[lyx.git] / src / Exporter.cpp
index 7cb141bcf562ab76137e3c3f72e3613411c95368..85d5eb3d5551862f7791fc21897651da4124a5bc 100644 (file)
@@ -5,11 +5,11 @@
  *
  * \author unknown
  * \author Alfredo Braunstein
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean Marc Lasgouttes
  * \author Angus Leeming
  * \author John Levon
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 
 #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
@@ -125,7 +115,7 @@ void ExportData::addExternalFile(string const & format,
 {
        // Make sure that we have every file only once, otherwise copyFile()
        // would ask several times if it should overwrite a file.
-       vector<ExportedFile> & files = externalfiles[format];
+       vector<ExportedFile> & files = externalfiles_[format];
        ExportedFile file(sourceName, exportName);
        if (find(files.begin(), files.end(), file) == files.end())
                files.push_back(file);
@@ -142,8 +132,8 @@ void ExportData::addExternalFile(string const & format,
 vector<ExportedFile> const
 ExportData::externalFiles(string const & format) const
 {
-       FileMap::const_iterator cit = externalfiles.find(format);
-       if (cit != externalfiles.end())
+       FileMap::const_iterator cit = externalfiles_.find(format);
+       if (cit != externalfiles_.end())
                return cit->second;
        return vector<ExportedFile>();
 }