Fix for Bugzilla bug 492. We were inserting the floating element for the
left/right aligned tables into the line list at the beginning of the list rather than the end. This caused re-ordering of floating tables as well as display problems. git-svn-id: svn://10.0.0.236/trunk@12871 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -7680,17 +7680,14 @@ fprintf(stderr, "lo_EndTable called\n");
|
||||
last->lo_any.next = state->float_list;
|
||||
state->float_list = state->line_list;
|
||||
state->line_list = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
state->line_list = save_line_list;
|
||||
|
||||
if (relayout == FALSE)
|
||||
{
|
||||
lo_AppendFloatInLineList(context, state, (LO_Element *)table->table_ele, save_line_list );
|
||||
}
|
||||
else
|
||||
{
|
||||
state->line_list = save_line_list;
|
||||
}
|
||||
|
||||
lo_AppendFloatInLineList(context, state, (LO_Element *)table->table_ele, NULL);
|
||||
}
|
||||
|
||||
table->table_ele->line_height = line_height;
|
||||
table->table_ele->expected_y = table->table_ele->y;
|
||||
|
||||
Reference in New Issue
Block a user