fix compilation bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6176 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-02-16 12:48:24 +00:00
parent b2e5a55528
commit 498f06d43a
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* bufferparams.C (writeLaTeX): add a std:here
* buffer.C: and remove a using directive there
2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* buffer.C (makeLaTeXFile): move the code that generates the

View File

@ -131,7 +131,6 @@ using std::make_pair;
using std::vector;
using std::map;
using std::max;
using std::set;
using std::stack;
using std::list;
using std::for_each;

View File

@ -309,7 +309,8 @@ void BufferParams::writeLaTeX(ostream & os, LaTeXFeatures & features,
// Create a list with all the input encodings used
// in the document
set<string> encodings = features.getEncodingSet(doc_encoding);
std::set<string> encodings =
features.getEncodingSet(doc_encoding);
os << "\\usepackage[";
std::copy(encodings.begin(), encodings.end(),