]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.cpp
Embedding: saving inzip name to .lyx file so that embedded files can always be found...
[lyx.git] / src / output_plaintext.cpp
index f9629e920307ec3ca1c4ed2fe9acb5c9c28215ef..452b4c10d834f4fc792cec6bfaa87bb53df0de27 100644 (file)
 #include "support/lstrings.h"
 
 using namespace std;
+using namespace lyx::support;
 
 namespace lyx {
 
-using support::ascii_lowercase;
-using support::compare_ascii_no_case;
-using support::contains;
-using support::FileName;
-
 
 void writePlaintextFile(Buffer const & buf, FileName const & fname,
        OutputParams const & runparams)
 {
-       odocfstream ofs("UTF-8");
+       odocfstream ofs;
        if (!openFileWrite(ofs, fname))
                return;
        writePlaintextFile(buf, ofs, runparams);