From: Richard Heck Date: Sat, 14 Nov 2009 13:16:08 +0000 (+0000) Subject: Style. X-Git-Tag: 2.0.0~5159 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3ad3ad71357e24dc49729a9ad34d6896b22dc8d9;p=features.git Style. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31974 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Exporter.cpp b/src/Exporter.cpp index 4e78f686d0..85d5eb3d55 100644 --- a/src/Exporter.cpp +++ b/src/Exporter.cpp @@ -115,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 & files = externalfiles[format]; + vector & files = externalfiles_[format]; ExportedFile file(sourceName, exportName); if (find(files.begin(), files.end(), file) == files.end()) files.push_back(file); @@ -132,8 +132,8 @@ void ExportData::addExternalFile(string const & format, vector 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(); } diff --git a/src/Exporter.h b/src/Exporter.h index 28ecb63072..4d08de95d9 100644 --- a/src/Exporter.h +++ b/src/Exporter.h @@ -81,13 +81,13 @@ public: support::FileName const & sourceName); /// get referenced files for \p format std::vector const - externalFiles(std::string const & format) const; + externalFiles(std::string const & format) const; private: typedef std::map > FileMap; /** Files that are referenced by the export result in the * different formats. */ - FileMap externalfiles; + FileMap externalfiles_; };