]> git.lyx.org Git - features.git/commitdiff
fix bug 5250.
authorJürgen Spitzmüller <spitz@lyx.org>
Sun, 14 Sep 2008 07:42:15 +0000 (07:42 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sun, 14 Sep 2008 07:42:15 +0000 (07:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26394 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp

index b035fc34715ac46ef2f323f117d74086dc8223d8..4414d0f090cbd912a9be26ad89021987cdd2a841 100644 (file)
@@ -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);