]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.cpp
This is the first of a series of commits that will make InsetLayout a real class.
[lyx.git] / src / output_plaintext.cpp
index 2ce6aee5c75d44aa713d984d8accb0e471e35b6b..ca67db49284b9d697a5f71e4fb3c206fd3b0e991 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "Buffer.h"
 #include "BufferParams.h"
-#include "support/debug.h"
-#include "support/gettext.h"
 #include "Layout.h"
 #include "output.h"
 #include "OutputParams.h"
@@ -23,6 +21,8 @@
 #include "ParagraphList.h"
 #include "ParagraphParameters.h"
 
+#include "support/debug.h"
+#include "support/gettext.h"
 #include "support/lstrings.h"
 
 using namespace std;
@@ -34,7 +34,7 @@ namespace lyx {
 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);