]> git.lyx.org Git - lyx.git/blobdiff - src/main.cpp
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / main.cpp
index a82663b85743dea91e2db3665f8208fead7e2043..11f91d3f55e76d9b744498481e6330c4f3dd6fd0 100644 (file)
 
 #include <config.h>
 
-#include "debug.h"
 #include "LyX.h"
-#include "gettext.h"
 
+#include "support/debug.h"
+#include "support/gettext.h"
 #include "support/os.h"
 
-#include <boost/filesystem/path.hpp>
-
+#include <iostream>
 #ifdef HAVE_IOS
 #include <ios>
 #endif
 
+using namespace std;
 
-namespace fs = boost::filesystem;
 
 int main(int argc, char * argv[])
 {
 #ifdef HAVE_IOS
-       std::ios_base::sync_with_stdio(false);
+       ios_base::sync_with_stdio(false);
 #endif
-       fs::path::default_name_check(fs::no_check);
 
        // To avoid ordering of global object problems with some
        // stdlibs we do the initialization here, but still as
        // early as possible.
-       lyx::lyxerr.rdbuf(std::cerr.rdbuf());
+       lyx::lyxerr.setStream(cerr);
 
        lyx::support::os::init(argc, argv);