diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-28 11:19:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-28 13:56:32 +0200 |
commit | dc735109bf44754b59a6fcdbcb8171d1bbf82ba3 (patch) | |
tree | 0c115a8b5ef6db1f97c2b9f5bc644a2bceca2a01 /accessibility | |
parent | 032e7a4b5c4904d00b3f0ab75af113ed316343f8 (diff) |
loplugin:checkunusedparams in accessibility and avmedia
Change-Id: I94df9a65578792fb06f3b3259603f70ca1e0b3db
Reviewed-on: https://gerrit.libreoffice.org/37059
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/inc/standard/vclxaccessiblelist.hxx | 7 | ||||
-rw-r--r-- | accessibility/source/standard/vclxaccessiblelist.cxx | 9 |
2 files changed, 3 insertions, 13 deletions
diff --git a/accessibility/inc/standard/vclxaccessiblelist.hxx b/accessibility/inc/standard/vclxaccessiblelist.hxx index 9d77fe7a526a..2399d5d69603 100644 --- a/accessibility/inc/standard/vclxaccessiblelist.hxx +++ b/accessibility/inc/standard/vclxaccessiblelist.hxx @@ -164,13 +164,8 @@ protected: /** Call this method when the item list has been changed, i.e. items have been deleted or inserted. - @param bItemInserted - Indicate whether items have been inserted (TRUE) or removed (FALSE). - @param nIndex - Index of the new or removed item. A value of -1 indicates that - the whole list has been cleared. */ - void HandleChangedItemList (bool bItemInserted, sal_Int32 nIndex); + void HandleChangedItemList(); // VCLXAccessibleComponent virtual css::awt::Rectangle implGetBounds( ) override; 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 ( |