diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-10-02 11:43:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2025-01-03 13:16:22 +0100 |
commit | e13c4edfd94b2ee1b3d3992993763670bfcab244 (patch) | |
tree | b013dd38afe22c0e4d38b06cd269489943f30ee1 /vcl/source | |
parent | 9c855f5e596bf97cb1db6de3cc3d8f3785ec096b (diff) |
Using the createEnumeration on the UNO object and finding the
UNO object that representing the paragraph, and using that pointer
as a unique identifier has doesn't work reliably. The reason for
this is probably that the createEnumeration call creates new UNO
objects that represent the paragraph, so the pointers change all
the time.
This changes the "calculation" of the paragraphs so that the hash
is actually combined using the hash of the object (which is always
of the XShape type and the hash is consistent with those) and the
paragraph index. This works well for the slideshow where we don't
edit the objects, but it can be a problem in the future if we will
allow editing.
Change-Id: I6dc9486a1e5d7c4ceb3d609613b60603886063c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179698
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl/source')
0 files changed, 0 insertions, 0 deletions