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





------- Additional comments from [EMAIL PROTECTED] Wed Aug  6 12:08:03 +0000 
2008 -------
The above patch fixes the crash for me. The patch removes the
ImplWinData::mbIsInTaskPaneList boolean field and instead adds an explicit
TaskPaneList pointer mpTaskPaneList.

Then in the Window class the ImplIsInTaskPaneList(BOOL) method is replaced with
a ImplIsInTaskPaneList(TaskPaneList*) method that sets this field.

And then in Window::~Window(), instead of checking mbIsInTaskPaneList and
traversing the parent chaing looking for a system window in the task pane list
of the window might be, simply check if mpWindowImpl->mpTaskPaneList is
non-NULL, and if it is, call mpWindowImpl->mpTaskPaneList->RemoveWindow(this).

Ditto in Window::SetParent(), call
mpWindowImpl->mpTaskPaneList->RemoveWindow(this) instead of searching for the
system window which has the window in its task pane list.

The TaskPaneList::AddWindow() calls are kept as is, as that method will call
back to Window::ImplIsInTaskPaneList() to set itself as the Window's 
TaskPaneList.

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