Hello > >> The interface was set to "deprecated" because we wanted to fix a name > >> clash. Unfortunately that never happened. So it's time to think about > >> that and either revert that state of that interface or finally fix the > >> problem. I have to investigate that before I can answer you question. > > > > I know that unpublished interfaces or service are not yet stable and can > > be removed, but I don't know how this happens. Can this removal happen in > > a minor update of OpenOffice.org ? When an unpublished interface/service > > is replaced by another one, how long is it kept, so that code using it > > can be modified ? > > Theoretically an unpublished interface can be changed at any time, in > any release. So it depends on the individual case. As I wrote, I have to > investigate the GlobalEventBroadcaster case before I can tell what will > happen here. A short look tells me that this service declaration is "old > style", so in practice nothing more than documentation. I assume that > the name won't change, but the supported interfaces. I could imagine > that the deprecated css.document.XEventBroadcaster interface might be > replaced by css.document.XDocumentEventBroadcaster. I don't think that > this change will be done in a minor version, perhaps 4.0 would be a good > release for that change. OTOH it's still possible that we don't find the > time to change our code for that and so it might remain for another few > releases.
If unpublished interfaces can be changed at any time in any release, is it advisable to use an unpublished interface in released code ? Besides, is it possible, when compiling the code, to be warned that unpublished interfaces are used ? Regards Patrick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
