To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=115902 Issue #|115902 Summary|Let SfxObjectShell and SfxBaseModel have the same refc |ounter. Component|framework Version|DEV300m93 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|mav Reported by|mav
------- Additional comments from m...@openoffice.org Fri Dec 3 13:29:30 +0000 2010 ------- SfxObjectShell and SfxBaseModel are formally speaking two objects, but logically they represent the same object, that should have the same refcounting. Thus the SfxObjectShell should be destructed from the SfxBaseModel only. If somebody would like to hold the object alive, it should be done using the SfxBaseModel lifetime. To simplify the usage in different parts of the source code, it makes sence to replace SfxObjectShellRef with a class that holds the refcount to the model. The SfxObjectShellRef should probably indeed close the model on destruction, since the model has to be closed. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org