lo_AppendLineListToLineArray( context, state, NULL);
lo_AppendLineListToLineArray( context, state, lo_GetLastElementInList(state->line_list) );
void lo_rl_ReflowDocState( MWContext *context, lo_DocState *state ){	lo_RelayoutState *relay_state;	LO_Element *first;	LO_LockLayout();	/* Create relayout state */	relay_state = lo_rl_CreateRelayoutState();	relay_state->doc_state = state;	relay_state->context = context;	relay_state->top_state = state->top_state;	/* Fit cell's layout elements */	first = lo_tv_GetFirstLayoutElement(relay_state->doc_state);		lo_rl_FitLayoutElements(relay_state, first);	/* Dummy Floating elements on a new line at the end of a document were not getting put into	   the line_array.  This code should ensure that anything left on the line_list gets flushed	   to the line_array. */	if (state->line_list != NULL)		lo_AppendLineListToLineArray( context, state, NULL);	/* Done with relayout.  Destroy relayout state. */	lo_rl_DestroyRelayoutState( relay_state );	LO_UnlockLayout();}