From a2c42bc70235120a94226f0ce51f5fca74b476b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 14 Sep 2008 07:42:15 +0000 Subject: [PATCH] fix bug 5250. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26394 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetTabular.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2