Files
odfstudio/xmloff/source/text
Miklos Vajna 5248afb9b6 tdf#168321 sw format redline, direct: fix ODF strict export
Save the bugdoc in strict ODF, the exporter crashes due to an assertion
failure.

What happens is that strict ODF doesn't add the loext namespace alias to
the alias list, so we crash when we would write an loext attribute.

Fix the problem by simply throwing away the direct format of a format
redline when saving to strict ODF, just to please the validator.

If we're at it, also don't register the direct format of the format
redline in the autostyle pool in that case, since it would be
unreferenced anyway.

Change-Id: I0de9ee114be9ef67f97716cf5fd9aaa9f8757683
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190851
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2025-09-12 10:32:46 +02:00
..
2024-09-17 17:18:22 +02:00
2024-05-15 20:37:38 +02:00
2024-06-24 18:31:56 +02:00
2024-10-26 19:25:03 +02:00
2024-06-24 18:31:56 +02:00
2025-08-13 18:14:21 +02:00
2024-05-15 20:37:38 +02:00
2024-05-15 20:37:38 +02:00
2025-05-27 22:45:07 +02:00
2025-07-11 22:05:47 +02:00
2024-05-15 20:37:38 +02:00