]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.C
multicol; small stuff
[lyx.git] / src / bufferparams.C
index 9cf50d170e5d88aa9f79a0be9dff93aa29be38ca..53b06e6e85877e21ac1453556168d71b00afcd6c 100644 (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(),
@@ -573,7 +574,7 @@ void BufferParams::writeLaTeX(ostream & os, LaTeXFeatures & features,
                texrow.newline();
        }
 
-       os << preamble;
+       os << lyxpreamble;
 }
 
 void BufferParams::setPaperStuff()