[API] Some peeks into *::addEventListener overloading

Thorsten Behrens thb at documentfoundation.org
Mon Nov 26 11:01:17 PST 2012


Hi there,

mst pointed me to a problem with overloaded names on interface
implementations (the very bottommost entry of
http://wiki.documentfoundation.org/Development/LibreOffice4#UNO_related_changes_2),
for which I promised to look into.

It seems the bulk of the problem stems from
css::accessibility::XAccessibleEventBroadcaster - at any rate,
here's the list of places which have overloaded addEventListener()
methods, harvested via some semi-manual crunching of the code base:

    sc/inc/AccessibleFilterMenu.hxx
    comphelper/inc/comphelper/accessiblecontexthelper.hxx
    comphelper/inc/comphelper/accessiblewrapper.hxx
    editeng/inc/editeng/AccessibleContextBase.hxx
    editeng/inc/editeng/AccessibleEditableTextPara.hxx
    sfx2/source/control/thumbnailviewacc.hxx
    svtools/source/control/toolbarmenuimp.hxx
    svtools/source/control/valueimp.hxx
    svx/inc/svx/AccessibleShape.hxx
    svx/source/table/accessiblecell.hxx
    svx/source/inc/GraphCtlAccessibleContext.hxx
    svx/source/inc/svxrectctaccessiblecontext.hxx
    accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
    accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
    accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx
    accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx
    accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
    accessibility/inc/accessibility/standard/vclxaccessiblelistitem.hxx
    chart2/source/controller/inc/AccessibleBase.hxx
    dbaccess/source/core/dataaccess/databasedocument.hxx
    sc/source/ui/inc/AccessibleContextBase.hxx
    sc/source/ui/inc/AccessibleEditObject.hxx
    sc/source/ui/inc/AccessibleEditObject.hxx
    sc/source/ui/inc/AccessibleSpreadsheet.hxx
    sd/source/ui/inc/AccessibleOutlineView.hxx
    sd/source/ui/inc/AccessibleSlideSorterView.hxx
    sd/source/ui/inc/AccessibleTreeNode.hxx
    sw/source/ui/docvw/SidebarTxtControlAcc.cxx

Easiest remedy of course would be to rename the
XAccessibleEventBroadcaster one - to e.g.
addAccessibleEventListener().

Thoughts?

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20121126/f78f9dfb/attachment.pgp>


More information about the LibreOffice mailing list