• Jody Goldberg's avatar
    Fix more memory errors. · 98e8cf26
    Jody Goldberg authored
        creating rows/cols when resizing empties.
    
    2000-05-17  Jody Goldberg <jgoldberg@home.com>
    
    	* src/sheet.c
    	(sheet_{col,row}_size_fit_pixels) : Return 0 if there are no cells.
    
    	* src/summary.c (summary_item_as_text) : Be careful to strdup all strings.
    	(g_str_case_equal) : Delete duplicate.
    	(g_str_case_hash) : Delete duplicate.
    	(summary_info_new) : Use gnumeric_strcase_hash & gnumeric_strcase_equal.
    
    	* src/workbook-cmd-format.c (workbook_cmd_format_{column,row}_auto_fit) :
    	  Only mark the sheet as dirty if something was changed.
    
    	* src/stf.c (stf_read_workbook) :  Bring up to date.
    
    	* src/xml-io.c (xml_write_attributes) : Do not use freed memory.
    
    	* src/item-bar.c (item_bar_event) : Autosizing an empty row/col
    	  returns 0.
    98e8cf26
summary.c 5.62 KB