#include "bufferlist.h"
#include "lyx_main.h"
-#include "lyx_gui_misc.h"
#include "lastfiles.h"
#include "debug.h"
#include "lyxrc.h"
#include "LyXView.h"
#include "vc-backend.h"
#include "TextCache.h"
+#include "lyxtextclasslist.h"
#include "frontends/Alert.h"
MakeDisplayPath(tname));
// no template, start with empty buffer
b->paragraph = new Paragraph;
+ b->paragraph->layout(textclasslist[b->params.textclass].defaultLayoutName());
}
} else { // start with empty buffer
b->paragraph = new Paragraph;
+ b->paragraph->layout(textclasslist[b->params.textclass].defaultLayoutName());
}
if (!lyxrc.new_ask_filename && !isNamed) {