#include <config.h>
#include "lyxrow_funcs.h"
+#include "debug.h"
+#include "lyxlayout.h"
+#include "lyxrow.h"
#include "lyxtext.h"
#include "paragraph.h"
-#include "lyxlayout.h"
-#include "debug.h"
-
-#include "support/LAssert.h"
#include <boost/next_prior.hpp>
-#include <algorithm>
using lyx::pos_type;
-using lyx::support::Assert;
using std::max;
using std::min;
lyxerr << "broken row 1: end: " << rit->end() << " next: "
<< boost::next(rit)->pos() << endl;
lyxerr << endl;
- Assert(false);
+ BOOST_ASSERT(false);
}
#endif
return boost::next(rit) == par.rows.end();
lyxerr << "broken row 2: end: " << rit->end() << " next: "
<< boost::next(rit)->pos() << endl;
lyxerr << endl;
- Assert(false);
+ BOOST_ASSERT(false);
}
return boost::next(rit)->pos() - 1;
}