]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.cpp
GuiCharacter: INHERIT is OFF for the tristate buttons.
[lyx.git] / src / LyX.cpp
index 575bd06daa1886381fa9f2e004faed620e42bcd5..4e97f7ae64b92286ef5aa0a3152349942c1f2e32 100644 (file)
@@ -483,17 +483,12 @@ int LyX::init(int & argc, char * argv[])
        }
 
        // Initialization of LyX (reads lyxrc and more)
-       try {
-               LYXERR(Debug::INIT, "Initializing LyX::init...");
-               bool success = init();
-               LYXERR(Debug::INIT, "Initializing LyX::init...done");
-               if (!success)
-                       return EXIT_FAILURE;
-       } catch (exception const &e) {
-               // This can happen _in_theory_ in replaceEnvironmentPath
-               lyxerr << "Caught exception `" << e.what() << "'." << endl;
+       LYXERR(Debug::INIT, "Initializing LyX::init...");
+       bool success = init();
+       LYXERR(Debug::INIT, "Initializing LyX::init...done");
+       if (!success)
                return EXIT_FAILURE;
-       }
+
        // Remaining arguments are assumed to be files to load.
        for (int argi = 1; argi < argc; ++argi)
                pimpl_->files_to_load_.push_back(os::utf8_argv(argi));