]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.C
fix the <...> delimiters
[lyx.git] / src / bufferlist.C
index fc642d8c1d441fa9539fef25ccb07e10105e2882..1617e1ace31a704c6114ebd9d76387a8c8b88850 100644 (file)
@@ -482,11 +482,11 @@ Buffer * BufferList::newFile(string const & name, string tname, bool isNamed)
                                   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) {