#include "frontends/Alert.h"
#include "gettext.h"
#include "tabular_funcs.h"
+#include "lyxtextclasslist.h"
#include <algorithm>
#include <cstdlib>
/* activates all lines and sets all widths to 0 */
void LyXTabular::Init(BufferParams const & bp,
- int rows_arg, int columns_arg, LyXTabular const * lt)
+ int rows_arg, int columns_arg, LyXTabular const * lt)
{
rows_ = rows_arg;
columns_ = columns_arg;
void LyXTabular::OldFormatRead(BufferParams const & bp,
- LyXLex & lex, string const & fl)
+ LyXLex & lex, string const & fl)
{
int version;
int i;
Paragraph * par = new Paragraph;
Paragraph * return_par = 0;
+ par->layout(textclasslist[bp.textclass].defaultLayoutName());
string tmptok;
int pos = 0;
Paragraph::depth_type depth = 0;