#include "lyxtext.h"
#include "paragraph.h"
-#include "support/LAssert.h"
-
#include <boost/next_prior.hpp>
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;
}