#include "support/debug.h"
-#include "support/assert.h"
+#include "support/lassert.h"
#include <boost/next_prior.hpp>
using namespace std;
tmp->setInsetOwner(par.inInset());
// without doing that we get a crash when typing <Return> at the
// end of a paragraph
- tmp->setEmptyOrDefaultLayout(bparams.documentClass());
+ tmp->setPlainOrDefaultLayout(bparams.documentClass());
// layout stays the same with latex-environments
if (keep_layout) {
par.params().clear();
// do not lose start of appendix marker (bug 4212)
par.params().startOfAppendix(soa);
- par.setEmptyOrDefaultLayout(bparams.documentClass());
+ par.setPlainOrDefaultLayout(bparams.documentClass());
}
// layout stays the same with latex-environments