* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include "insets/Inset.h"
-#include <boost/assert.hpp>
+#include "support/lassert.h"
namespace lyx {
Point::Point(int x, int y)
: x_(x), y_(y)
{
- BOOST_ASSERT(x > -1000000);
- BOOST_ASSERT(x < 1000000);
- BOOST_ASSERT(y > -1000000);
- BOOST_ASSERT(y < 1000000);
+ LASSERT(x > -1000000, /**/);
+ LASSERT(x < 1000000, /**/);
+ LASSERT(y > -1000000, /**/);
+ LASSERT(y < 1000000, /**/);
}
// just a helper to be able to set a breakpoint
{
LYXERR0("break on pointer: " << data << " hint: " << hint
<< " size: " << size);
- BOOST_ASSERT(false);
+ LASSERT(false, return);
}