summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2024-09-09 23:40:05 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2024-11-25 10:36:31 +0100
commit4ffd7c145626563ef36f81a256b5b2cddc72fc8e (patch)
tree81a28ba39f8c593c159492abe99ec62f49b261ec /slideshow
parentdfb779ff7689fc31b7e6bd27ea87a2074c2bdfd3 (diff)
slideshow: fix initVisible value
be sure we don't overwrite the real "visibility" value when other property is read Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ied2285e8183665b5b48d10d74e1cc052cf8edcbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173110 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177235
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/slide/targetpropertiescreator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/slideshow/source/engine/slide/targetpropertiescreator.cxx b/slideshow/source/engine/slide/targetpropertiescreator.cxx
index 6ccf2374515a..ed3376cf97c8 100644
--- a/slideshow/source/engine/slide/targetpropertiescreator.cxx
+++ b/slideshow/source/engine/slide/targetpropertiescreator.cxx
@@ -258,7 +258,8 @@ namespace slideshow::internal
// initially. This is currently the only place
// where a shape effect influences shape
// attributes outside it's effective duration.
- bool bVisible = anim::getVisibilityProperty(xAnimateNode);
+ bool bVisible = false;
+ anim::getVisibilityProperty(xAnimateNode, bVisible);
// if initial anim sets shape visible, set it
// to invisible. If we're asked for the final