]> git.lyx.org Git - lyx.git/blobdiff - src/main.cpp
fix a couple warnings after the number localization patch
[lyx.git] / src / main.cpp
index 9ffd8c27fd86e37e6a04afc573a87b7cbc00e96d..5e09dd86fb27ac2dba298e16c31ad01ca62c61b2 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean Marc Lasgouttes
  *
  * Full author contact details are available in file CREDITS.
 
 #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 <iostream>
 #include <ios>
 #endif
 
+using namespace std;
+
+
 int main(int argc, char * argv[])
 {
 #ifdef HAVE_IOS
-       std::ios_base::sync_with_stdio(false);
+       ios_base::sync_with_stdio(false);
 #endif
 
        // To avoid ordering of global object problems with some
        // stdlibs we do the initialization here, but still as
        // early as possible.
-       lyx::lyxerr.setStream(std::cerr);
+       lyx::lyxerr.setStream(cerr);
 
        lyx::support::os::init(argc, argv);