Commit 2092b8cf authored by Committed by Morten Welinder
New function. (dependents_revive_sheet): Check sanity here.
2005-06-10 Morten Welinder <firstname.lastname@example.org> * src/dependent.c (gnm_dep_container_sanity_check): New function. (dependents_revive_sheet): Check sanity here. (gnm_dep_container_dump): And here. (handle_outgoing_references): New function. Properly unlink dependencies that reference stuff outside current sheet. (do_deps_destroy, do_deps_invalidate): Use handle_outgoing_references. * src/dependent.c (dependents_invalidate_sheets): Handle 3d deps here. Avoid crashes by not modifying the hash while we go over it. * src/workbook.c (workbook_sheet_delete): Not here.
Showing with 169 additions and 75 deletions