X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmain.cpp;h=e9893062df561a564207bd03e3e8ce38e7bce941;hb=5320ce020673013167a23a4221e2762603889453;hp=384724aecbe232c41131905314aadfd20137ee6a;hpb=5c4a20fe0406ca60a084f733b5fc4324ab1a0933;p=lyx.git diff --git a/src/main.cpp b/src/main.cpp index 384724aecb..e9893062df 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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. @@ -22,24 +22,22 @@ #include #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); - - LYXERR0("acssdc"); + lyx::lyxerr.setStream(cerr); lyx::support::os::init(argc, argv); - // initialize for internationalized version *EK* - lyx::locale_init(); - lyx::LyX the_lyx_instance; return the_lyx_instance.exec(argc, argv);