… | |
… | |
39 | static void psiconv_free_paint_data_section_aux(void * section); |
39 | static void psiconv_free_paint_data_section_aux(void * section); |
40 | static void psiconv_free_clipart_section_aux(void * section); |
40 | static void psiconv_free_clipart_section_aux(void * section); |
41 | static void psiconv_free_formula_aux(void *data); |
41 | static void psiconv_free_formula_aux(void *data); |
42 | static void psiconv_free_sheet_worksheet_aux (void *data); |
42 | static void psiconv_free_sheet_worksheet_aux (void *data); |
43 | static void psiconv_free_sheet_variable_aux(void * variable); |
43 | static void psiconv_free_sheet_variable_aux(void * variable); |
|
|
44 | static void psiconv_free_sheet_cell_aux(void *cell); |
|
|
45 | static void psiconv_free_sheet_line_aux(void *line); |
|
|
46 | static void psiconv_free_sheet_worksheet_aux (void *data); |
44 | |
47 | |
45 | static psiconv_word_styles_section psiconv_empty_word_styles_section(void); |
48 | static psiconv_word_styles_section psiconv_empty_word_styles_section(void); |
46 | static psiconv_text_and_layout psiconv_empty_text_and_layout(void); |
49 | static psiconv_text_and_layout psiconv_empty_text_and_layout(void); |
47 | static psiconv_texted_section psiconv_empty_texted_section(void); |
50 | static psiconv_texted_section psiconv_empty_texted_section(void); |
48 | static psiconv_page_header psiconv_empty_page_header(void); |
51 | static psiconv_page_header psiconv_empty_page_header(void); |
… | |
… | |
488 | { |
491 | { |
489 | if (section) |
492 | if (section) |
490 | free(section); |
493 | free(section); |
491 | } |
494 | } |
492 | |
495 | |
493 | void psiconv_free_object(psiconv_object object) |
496 | void psiconv_free_embedded_object_section |
|
|
497 | (psiconv_embedded_object_section object) |
494 | { |
498 | { |
495 | if (object) { |
499 | if (object) { |
496 | psiconv_free_object_icon_section(object->icon); |
500 | psiconv_free_object_icon_section(object->icon); |
497 | psiconv_free_object_display_section(object->display); |
501 | psiconv_free_object_display_section(object->display); |
498 | psiconv_free_file(object->object); |
502 | psiconv_free_file(object->object); |
… | |
… | |
501 | } |
505 | } |
502 | |
506 | |
503 | void psiconv_free_in_line_layout_aux(void * layout) |
507 | void psiconv_free_in_line_layout_aux(void * layout) |
504 | { |
508 | { |
505 | psiconv_free_character_layout(((psiconv_in_line_layout) layout)->layout); |
509 | psiconv_free_character_layout(((psiconv_in_line_layout) layout)->layout); |
506 | psiconv_free_object(((psiconv_in_line_layout) layout)->object); |
510 | psiconv_free_embedded_object_section |
|
|
511 | (((psiconv_in_line_layout) layout)->object); |
507 | } |
512 | } |
508 | |
513 | |
509 | void psiconv_free_in_line_layout(psiconv_in_line_layout layout) |
514 | void psiconv_free_in_line_layout(psiconv_in_line_layout layout) |
510 | { |
515 | { |
511 | if (layout) { |
516 | if (layout) { |