]> git.lyx.org Git - lyx.git/blobdiff - src/client/boost.cpp
Set language to OS input language when moving cursor
[lyx.git] / src / client / boost.cpp
index 3cef1218cdb1b0170faffaf5ea4639983d3230b7..bf53dd164c74f1accb1b67085b126b6fdc056bd6 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
  *
  * Full author contact details are available in file CREDITS.
  */
 #include <config.h>
 
 #include "LyX.h"
-#include "debug.h"
-#include "support/lyxlib.h"
+#include "support/debug.h"
 
 #include <boost/assert.hpp>
 
 #include <exception>
+#include <ostream>
 
-
-namespace lyx {
-
-using std::endl;
+using namespace std;
 
 namespace boost {
 
-void throw_exception(std::exception const & e)
+void throw_exception(exception const & e)
 {
-       lyxerr << "Exception caught:\n"
-           << e.what() << endl;
+       lyx::lyxerr << "Exception caught:\n" << e.what() << endl;
        BOOST_ASSERT(false);
 }
 
-
+/*
 void assertion_failed(char const * expr, char const * function,
                      char const * file, long line)
 {
-       lyxerr << "Assertion triggered in " << function
+       lyx::lyxerr << "Assertion triggered in " << function
               << " by failing check \"" << expr << "\""
               << " in file " << file << ":" << line << endl;
        lyx::support::abort();
 }
+*/
 
-
-}
-
-
-} // namespace lyx
+} // namespace boost