Small fix to ca.po, using directive for compaq cxx.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@446 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-01-25 15:57:39 +00:00
parent 328f69b0c1
commit 7529272c36
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/table.C (calculate_width_of_column): add using std::max
directive.
2000-01-25 Lars Gullik Bjønnes <larsbj@lyx.org> 2000-01-25 Lars Gullik Bjønnes <larsbj@lyx.org>
* several files: marked several lines with "DEL LINE", this is * several files: marked several lines with "DEL LINE", this is

View File

@ -3253,7 +3253,7 @@ msgstr "Falta el par
#: src/lyx_main.C:563 #: src/lyx_main.C:563
#, fuzzy #, fuzzy
msgid "Unknown file type '" msgid "Unknown file type '"
msgstr "Desconec el tipus de fitxer '"" msgstr "Desconec el tipus de fitxer '"
#: src/lyx_main.C:564 #: src/lyx_main.C:564
msgid "' after " msgid "' after "

View File

@ -743,6 +743,8 @@ bool LyXTable::calculate_width_of_column(int column)
{ {
int old_column_width = column_info[column].width_of_column; int old_column_width = column_info[column].width_of_column;
int maximum = 0; int maximum = 0;
using std::max;
for (int i = 0; i < rows; ++i) { for (int i = 0; i < rows; ++i) {
maximum = max(cell_info[i][column].width_of_cell, maximum); maximum = max(cell_info[i][column].width_of_cell, maximum);
} }