slidecopy: VCLEVENT_LISTBOX_ENTRY_EXPANDED/COLLAPSED => VCLEVENT_ITEM_EXPANDED/COLLAPSED (to allow re-using it in the tool panel drawer items)
This commit is contained in:
parent
91cad6a8ba
commit
9263280ca2
1 changed files with 3 additions and 3 deletions
|
@ -134,8 +134,8 @@ namespace accessibility
|
|||
break;
|
||||
|
||||
// --> OD 2009-04-01 #i92103#
|
||||
case VCLEVENT_LISTBOX_ENTRY_EXPANDED :
|
||||
case VCLEVENT_LISTBOX_ENTRY_COLLAPSED :
|
||||
case VCLEVENT_ITEM_EXPANDED :
|
||||
case VCLEVENT_ITEM_COLLAPSED :
|
||||
{
|
||||
SvLBoxEntry* pEntry = static_cast< SvLBoxEntry* >( rVclWindowEvent.GetData() );
|
||||
if ( pEntry )
|
||||
|
@ -144,7 +144,7 @@ namespace accessibility
|
|||
new AccessibleListBoxEntry( *getListBox(), pEntry, this );
|
||||
Reference< XAccessible > xChild = pAccListBoxEntry;
|
||||
const short nAccEvent =
|
||||
( rVclWindowEvent.GetId() == VCLEVENT_LISTBOX_ENTRY_EXPANDED )
|
||||
( rVclWindowEvent.GetId() == VCLEVENT_ITEM_EXPANDED )
|
||||
? AccessibleEventId::LISTBOX_ENTRY_EXPANDED
|
||||
: AccessibleEventId::LISTBOX_ENTRY_COLLAPSED;
|
||||
uno::Any aListBoxEntry;
|
||||
|
|
Loading…
Reference in a new issue