/[public]/psiconv/trunk/lib/psiconv/data.c
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/data.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 129 Revision 134
629 psiconv_free_sheet_line_aux(line); 629 psiconv_free_sheet_line_aux(line);
630 free(line); 630 free(line);
631 } 631 }
632} 632}
633 633
634
634void psiconv_free_sheet_line_list(psiconv_sheet_line_list list) 635void psiconv_free_sheet_line_list(psiconv_sheet_line_list list)
635{ 636{
636 if (list) 637 if (list)
637 psiconv_list_free_el(list,psiconv_free_sheet_line_aux); 638 psiconv_list_free_el(list,psiconv_free_sheet_line_aux);
639}
640
641void psiconv_free_sheet_grid_break_list(psiconv_sheet_grid_break_list list)
642{
643 if (list)
644 psiconv_list_free(list);
645}
646
647void psiconv_free_sheet_grid_size(psiconv_sheet_grid_size s)
648{
649 if (s)
650 free(s);
651}
652
653void psiconv_free_sheet_grid_size_list(psiconv_sheet_grid_size_list list)
654{
655 if (list)
656 psiconv_list_free(list);
657}
658
659void psiconv_free_sheet_grid_section(psiconv_sheet_grid_section sec)
660{
661 if (sec) {
662 psiconv_free_sheet_grid_size_list(sec->row_heights);
663 psiconv_free_sheet_grid_size_list(sec->column_heights);
664 psiconv_free_sheet_grid_break_list(sec->row_page_breaks);
665 psiconv_free_sheet_grid_break_list(sec->column_page_breaks);
666 free(sec);
667 }
638} 668}
639 669
640void psiconv_free_sheet_worksheet_aux (void *data) 670void psiconv_free_sheet_worksheet_aux (void *data)
641{ 671{
642 psiconv_sheet_worksheet section = data; 672 psiconv_sheet_worksheet section = data;
643 psiconv_free_sheet_cell_layout(section->default_layout); 673 psiconv_free_sheet_cell_layout(section->default_layout);
644 psiconv_free_sheet_cell_list(section->cells); 674 psiconv_free_sheet_cell_list(section->cells);
645 psiconv_free_sheet_line_list(section->row_default_layouts); 675 psiconv_free_sheet_line_list(section->row_default_layouts);
646 psiconv_free_sheet_line_list(section->col_default_layouts); 676 psiconv_free_sheet_line_list(section->col_default_layouts);
677 psiconv_free_sheet_grid_section(section->grid);
647} 678}
648 679
649void psiconv_free_sheet_worksheet(psiconv_sheet_worksheet sheet) 680void psiconv_free_sheet_worksheet(psiconv_sheet_worksheet sheet)
650{ 681{
651 if (sheet) { 682 if (sheet) {

Legend:
Removed from v.129  
changed lines
  Added in v.134

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26