#include "Buffer.h"
#include "BufferParams.h"
-#include "support/debug.h"
-#include "support/gettext.h"
#include "Layout.h"
#include "output.h"
#include "OutputParams.h"
#include "ParagraphList.h"
#include "ParagraphParameters.h"
+#include "support/debug.h"
+#include "support/gettext.h"
#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;
-
-using std::endl;
-using std::ostream;
-using std::pair;
-using std::string;
-
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);