Issue 35847

Summary: Sometimes it is not possible to have only one owner for a storage.
Product: App Dev Reporter: mikhail.voytenko
Component: apiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

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.
Comment 2 Marcus 2017-05-20 11:27:44 UTC
Reset assigne to the default "".