Apache OpenOffice (AOO) Bugzilla – Issue 35847
Sometimes it is not possible to have only one owner for a storage.
Last modified: 2017-05-20 11:27:44 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.
This change can be introduced later -> change target.
Reset assigne to the default "issues@openoffice.apache.org".