SwXShapesEnumeration: don't generate a set of TextBoxes for each shape

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 31 October 2014 11:17 UTC

Instead, generate it once and then pass around that list. Again, this helps ODF export.

For a test document of 2000 mail merge records and 16 frames, the times for css::text::MailMerge::execute() are 7m53.575s -> 7m30.261s.

693014c SwXShapesEnumeration: don't generate a set of TextBoxes for each shape
sw/inc/unodraw.hxx | 4 ++++
sw/source/core/unocore/unodraw.cxx | 26 ++++++++++++++++++++++----
2 files changed, 26 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share