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:
Frank Schoenheit [fs] 2010-04-07 22:36:25 +02:00
parent 91cad6a8ba
commit 9263280ca2

View file

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