office-gobmx/accessibility
Michael Weghorn bfa9d01920 tdf#157088 a11y: No need to use WeakReference for list children
`VCLXAccessibleList` is the owner of the
`VCLXAccessibleListItem`s held in that vector,
so I see no reason to hold them by weak reference,
which according to the doc in
`udkapi/com/sun/star/uno/XWeak.idl` is to avoid
affecting the lifetime of the objects:

> <p>The sense of weak references is to hold a reference to an object
> without affecting the lifetime of the object. That means that a weak
> reference may become invalid, at any time, if the referenced object dies.
> </p>

Quite the contrary, it is actually responsible for the
lifecycle of the list item a11y objects and should dispose
them when itself gets disposed, which will be added
in a subsequent commit.

Change-Id: I57fe3367f1199cd0c24f006f6e25a1e9c930c154
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156521
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-09-04 21:41:00 +02:00
..
inc tdf#157088 a11y: No need to use WeakReference for list children 2023-09-04 21:41:00 +02:00
source tdf#157088 a11y: No need to use WeakReference for list children 2023-09-04 21:41:00 +02:00
AllLangMoTarget_acc.mk
IwyuFilter_accessibility.yaml
Library_acc.mk
Makefile
Module_accessibility.mk
README.md

Accessibility Support for LibreOffice

Provides accessible components for LibreOffice