summaryrefslogtreecommitdiff
path: root/accessibility/source/standard/vclxaccessiblelist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/standard/vclxaccessiblelist.cxx')
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index d314879765cf..0da281044449 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -389,14 +389,9 @@ void VCLXAccessibleList::ProcessWindowEvent (const VclWindowEvent& rVclWindowEve
case VclEventId::ListboxItemRemoved:
case VclEventId::ComboboxItemRemoved:
- HandleChangedItemList (false, reinterpret_cast<sal_IntPtr>(
- rVclWindowEvent.GetData()));
- break;
-
case VclEventId::ListboxItemAdded:
case VclEventId::ComboboxItemAdded:
- HandleChangedItemList (true, reinterpret_cast<sal_IntPtr>(
- rVclWindowEvent.GetData()));
+ HandleChangedItemList();
break;
case VclEventId::ControlGetFocus:
{
@@ -515,7 +510,7 @@ Reference<XAccessible> VCLXAccessibleList::CreateChild (sal_Int32 nPos)
}
-void VCLXAccessibleList::HandleChangedItemList (bool /*bItemInserted*/, sal_Int32 /*nIndex*/)
+void VCLXAccessibleList::HandleChangedItemList()
{
clearItems();
NotifyAccessibleEvent (