void BufferList::emergencyWriteAll()
{
for_each(bstore.begin(), bstore.end(),
- lyx::class_fun(*this, &BufferList::emergencyWrite));
+ lyx::void_class_fun(*this, &BufferList::emergencyWrite));
}
MakeDisplayPath(tname));
// no template, start with empty buffer
b->paragraph = new Paragraph;
- b->paragraph->layout(textclasslist[b->params.textclass].defaultLayoutName());
+ b->paragraph->layout(textclasslist[b->params.textclass].defaultLayout());
}
} else { // start with empty buffer
b->paragraph = new Paragraph;
- b->paragraph->layout(textclasslist[b->params.textclass].defaultLayoutName());
+ b->paragraph->layout(textclasslist[b->params.textclass].defaultLayout());
}
if (!lyxrc.new_ask_filename && !isNamed) {