#include "CoordCache.h"
-#include "debug.h"
#include "Text.h"
+#include "support/debug.h"
#include "support/docstring.h"
#include "insets/Inset.h"
-#include <boost/assert.hpp>
+#include "support/assert.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, /**/);
}