Files
odfstudio/include/comphelper
Neil Roberts 54ba86b578 scripting: Replace XAggregation of XBrowseNode with helper function
The browse node factory had a wrapper using XAggregation that wraps
every XBrowseNode. As far as I can tell this was used to replace the
implementation of getChildNodes with one that checks for exceptions from
the underlying provider and then sorts all of the resulting nodes by
name. The trouble with this is that it prevents the script providers
from detecting when a node is one from the same script provider and thus
makes it difficult to implement the XCopyableBrowseNode interface. The
documentation for XAggregation mentions this problem and also states
that the interface is deprecated.

To avoid this overhead, this patch replaces the aggregation with a
helper function in comphelper that should be used to retrieve children
from a browse node. That takes care of catching exceptions and sorting
the results.

Change-Id: I319888fee1b84ddcef397317d2cf7e72bd2867cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208160
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-07-23 15:18:22 +02:00
..
2024-04-30 10:40:14 +02:00
2024-02-12 20:25:54 +01:00
…
2025-06-25 20:48:28 +02:00
2024-04-22 13:26:38 +02:00
2024-03-26 17:16:47 +01:00
2024-02-12 20:25:54 +01:00
2024-03-26 17:16:47 +01:00
2026-06-04 10:00:29 +02:00
2024-11-08 05:34:20 +01:00
2024-03-26 17:16:47 +01:00
2025-01-08 16:10:03 +01:00