From: Jürgen Spitzmüller Date: Sun, 14 Sep 2008 07:42:15 +0000 (+0000) Subject: fix bug 5250. X-Git-Tag: 1.6.10~3465 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a2c42bc70235120a94226f0ce51f5fca74b476b2;p=features.git fix bug 5250. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26394 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index b035fc3471..4414d0f090 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -1424,8 +1424,8 @@ void Tabular::read(Lexer & lex) } getTokenValue(line, "multicolumn", cell_info[i][j].multicolumn); getTokenValue(line, "alignment", cell_info[i][j].alignment); - setAlignment(cellIndex(i, j), cell_info[i][j].alignment, - cell_info[i][j].multicolumn); + cellInset(cellIndex(i, j)).get()->setContentAlignment( + cell_info[i][j].alignment); getTokenValue(line, "valignment", cell_info[i][j].valignment); getTokenValue(line, "topline", cell_info[i][j].top_line); getTokenValue(line, "bottomline", cell_info[i][j].bottom_line);