--- parser3/src/main/pa_table.C 2015/08/04 21:10:17 1.67 +++ parser3/src/main/pa_table.C 2020/12/15 17:10:37 1.71 @@ -1,13 +1,13 @@ /** @file Parser: table class. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #include "pa_table.h" -volatile const char * IDENT_PA_TABLE_C="$Id: pa_table.C,v 1.67 2015/08/04 21:10:17 moko Exp $" IDENT_PA_TABLE_H; +volatile const char * IDENT_PA_TABLE_C="$Id: pa_table.C,v 1.71 2020/12/15 17:10:37 moko Exp $" IDENT_PA_TABLE_H; #include "pa_exception.h" @@ -44,9 +44,9 @@ Table::Table(const Table& src, Action_op ((Table &)src).table_for_each(append_row, this, options); } -int Table::max_cells() const { - int result=0; - for(int i=0; icount()>result) result=row->count();