]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.C
Create a grfx::Loader class and so move large chunks of code out of
[lyx.git] / src / tabular.C
index d3653e8662f7cae1823375006742cbd95786867e..eae53660711a8fe4c323e176fa63c252b4d111f5 100644 (file)
@@ -1449,7 +1449,8 @@ void LyXTabular::OldFormatRead(BufferParams const & bp,
        Paragraph * par = new Paragraph;
        Paragraph * return_par = 0;
 
-       par->layout(textclasslist[bp.textclass].defaultLayoutName());
+       par->layout(textclasslist[bp.textclass].defaultLayout());
+
        string tmptok;
        int pos = 0;
        Paragraph::depth_type depth = 0;
@@ -2371,7 +2372,8 @@ int LyXTabular::docbookRow(Buffer const * buf, ostream & os, int row) const
 }
 
 
-int LyXTabular::docbook(Buffer const * buf, ostream & os, bool mixcont) const
+int LyXTabular::docbook(Buffer const * buf, ostream & os,
+                       bool /*mixcont*/) const
 {
        int ret = 0;