Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [sidebar] UI element's real interface is disposed | ||||||
---|---|---|---|---|---|---|---|
Product: | General | Reporter: | Ariel Constenla-Haile <arielch> | ||||
Component: | code | Assignee: | Andre <awf.aoo> | ||||
Status: | CLOSED FIXED | QA Contact: | |||||
Severity: | Normal | ||||||
Priority: | P3 | CC: | awf.aoo, issues | ||||
Version: | 4.0.0-dev | ||||||
Target Milestone: | 4.0.0 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Issue Depends on: | |||||||
Issue Blocks: | 121420 | ||||||
Attachments: |
|
Description
Ariel Constenla-Haile
2013-05-29 08:18:26 UTC
This is left-over from the early days of sidebar development when the Impress panels where still view shell based and needed very special handling and had to be disposed at exactly the right time. Disposing just the mxElement should be enough, now that the Impress panels are "regular" dialogs/controls. "af" committed SVN revision 1487475 into trunk: 122405: Sidebar panels no longer dispose XUIElement's inner objects. The object returned by XUIElement::getRealInterface() is no longer disposed(). The XUIElement interface does not state who is responsible for the returned object it seems reasonable to assume that the XUIElement object is. A quick look into two implementations of XUIElement confirms that. |