Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Sometimes it is not possible to have only one owner for a storage.|
|Component:||api||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Version:||3.3.0 or older (OOo)|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description mikhail.voytenko 2004-10-20 09:15:17 UTC
For now storage implementation supports lang::XComponent interface, that allows the owner to dispose the storage. But sometimes a storage object should be shared between user objects. In this case util::XCloseable is much more useful. So the storage implementation should support XCloseable instead of XComponent. For now it is possible that the assertion from SfxMedium "Medium's storage is already disposed!" appears during the office execution because of this bug. After this bug is fixed the assertion will disappear. To simplify the use of XCloseable there should be introduced a helper method that will implement XCloseListener and will allow to hold the object alive.
Comment 1 mikhail.voytenko 2004-11-02 10:05:50 UTC
This change can be introduced later -> change target.