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


User tbe changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|tbe                       |pb
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Fri Jun 27 16:17:14 +0000 
2008 -------
This issue is a problem in the VCLXAccessibleToolBox
(accessibility/source/standard/vclxaccessibletoolbox.cxx)
implementation.

Initially in an opened Calc document all children of the Calc
toolbox are exposed correctly. When e.g. clicking in the
Calc input window, the 'Sum' and 'Function' toolbox buttons
are exchanged by the 'Cancel' and 'Accept' toolbx buttons.
See ScInputWindow::SetOkCancelMode()
(sc/source/ui/app/inputwin.cxx) for the corresponding
ToolBox::RemoveItem() and ToolBox::InsertItem() calls.

The VCLEVENT_TOOLBOX_ITEMADDED and VCLEVENT_TOOLBOX_ITEMREMOVED
events are handled by the VCLXAccessibleToolBox::ProcessWindowEvent()
method, which calls VCLXAccessibleToolBox::UpdateItem_Impl().
When a toolbox item is removed or added, the m_aAccessibleChildren
map is updated, that means the child is erased from the map
or inserted in the map.

I guess the problem is, that the map uses the item position as
key, and the keys are not adjusted after erasing or inserting
a child. Instead of adjusting the keys the use of a ::std::vector
instead of a ::std::map would be also an option.


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