diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-10-16 09:30:11 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2025-03-12 18:30:54 +0100 |
commit | cde8bf6bcf3b361bd107276efe14b2a221826399 (patch) | |
tree | 3044858b0b259201f8518513703d5b4907f86230 /include/vcl/abstdlg.hxx | |
parent | 3cf71eec36518a5cc85073e46a420067b855c20e (diff) |
slideshow: fix para. rendering when using SdrBlockTextPrimitive2D
If using an empty ViewInformation, it is possible that the prim.
decomposition is redone, when a different ViewInformation is used.
This removes all visibility flags for the paragraphs, so the whole
text is rendered. This fixes the issue by using the same instance
of the ViewInformation that is also used later for rendering the
primitives to the VirtualDevice, so the buffered decomposition is
used.
Also a test is added - it checks the hash of the buffer, which
should be different for all 3 layers. For this the tostring has
to be moved to the common hash.hxx, so we can reuse it in out
tests.
Includes:
Author: Marco Cecchetti <marco.cecchetti@collabora.com>
AuthorDate: Wed Mar 5 23:15:33 2025 +0100
slideshow: regression: layer with paragraph has not the expected content
Change-Id: I850c6922cdd358eee35074fbff04f238994b2c76
Otherwise 'make -C sd -sr CppunitTest_sd_tiledrendering
CPPUNIT_TEST_NAME=testSlideshowLayeredRendering_Animation_DifferentKindOfTextBox'
would fail.
Change-Id: I4c951215a52e302d3b7b60a30c1b995002e53a4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182833
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/vcl/abstdlg.hxx')
0 files changed, 0 insertions, 0 deletions