]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/tests/boost.cpp
Don't allow newline characters in document settings.
[lyx.git] / src / frontends / tests / boost.cpp
index 2efd98926e4c533908b1b115c07d603f6bf8c0b9..09d701dfd51980046a88cd3919d3d34cc4292619 100644 (file)
@@ -3,17 +3,16 @@
  * 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 "support/lassert.h"
-
 #include <cstdlib>
-#include <exception>
+#include <iostream>
+#include <boost/assert.hpp>
 
 using namespace std;
 
@@ -22,7 +21,8 @@ namespace boost {
 #ifndef BOOST_NO_EXCEPTIONS
 void throw_exception(exception const & /*e*/)
 {
-       LASSERT(false, /**/);
+       cerr<<"ASSERTION VIOLATED IN biblio test";
+       BOOST_ASSERT(false);
 }
 #endif