To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115902


User mav changed the following:

                What    |Old value                 |New value
================================================================================
                 Summary|Let SfxObjectShell and Sfx|Review the usage of SfxObj
                        |BaseModel have the same re|ectShellRef and SfxObjectS
                        |fcounter.                 |hellLock.
--------------------------------------------------------------------------------




------- Additional comments from m...@openoffice.org Mon Jan  3 11:52:40 +0000 
2011 -------
Actually the designed behavior of the model and SfxObjectShell is so different,
that it does not look to be possible to introduce the same refcounting for the
both objects. The model should be explicitly closed if it was provided to
outside, if not, SfxObjectShell should allow to be closed by refcount. 

Thus the existing SfxObjectShellRef and SfxObjectShellLock are absolutely
reasonable. If the model it provided outside of the SfxObjectShell,
SfxObjectShellRef should be used, since SfxObjectShell does not control the
lifetime of the document anymore. Otherwise SfxObjectShellLock should be used
while the SfxObjectShell controls the document lifetime.

So the task was actually to review the usage of
SfxObjectShellRef/SfxObjectShellLock in the applications. Adjusting the Summary
accordingly.

---------------------------------------------------------------------
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

Reply via email to