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


User sb changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|sb                        |oj
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Tue Mar  8 01:53:04 -0800 
2005 -------
It is not the case that a component has to throw DisposedException for every
method invocation it receives after it has been disposed.  The Developer's Guide
merely states:  "Behave as passive as possible afterwards.  If the
implementation is called after being disposed,  throw a
com.sun.star.lang.DisposedException if you cannot fulfil the method
specification."
(<http://api.openoffice.org/docs/DevelopersGuide/Components/Components.htm>,
section 4.4.5 XComponent.)

I would argue that it is the responsibility of the derived class's
implementation of the abstract function
cppu::OPropertySetHelper::getFastProperyValue(css::uno::Any &, sal_Int32) to
throw a DisposedException if necessary.  For example, for a property that is
static by nature it might well be most appropriate to simply continue to return
it, instead of throwing a DisposedException, when a client requests its value
after the component has been disposed.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to