Issue 35847 - Sometimes it is not possible to have only one owner for a storage.
Summary: Sometimes it is not possible to have only one owner for a storage.
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2004-10-20 09:15 UTC by mikhail.voytenko
Modified: 2017-05-20 11:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
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 "".