(Example -Calc) Crash on removing publisher

1296110

Oct 25 1995 2:07PM


In Calc:
- Create new document.
- Type something in cell A1.
- Publish it.
- Save the document.
- Cancel the publisher.
- Save the document again.

You now crash with an "access fault exception" according to CW.

Fix:

When a publisher is created, it is made a dependent of the published cells. When the publisher is removed, the dependency needs to be removed also.

Changed DoAddBorder and DoRemoveBorder (in UCalc.cp) so that they add and remove the publisher dependencies.