diff options
author | Javiya Vivekkumar Dineshbhai <vivek.javiya@collabora.com> | 2024-08-15 15:58:58 +0530 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-11-06 10:10:44 +0100 |
commit | 43c4488e584e7672ee55ce97a524967f47d0d649 (patch) | |
tree | 33559f6744b406d454cf4fdebee9c22f90b61048 | |
parent | 797e215f7932d7c0bd551ad0b4c5d66a8b458cff (diff) |
Fix: Make the repeat slideshow property independent of the TransitionType
Change-Id: I60b00f2935df8dc224736120b1e0d70c2821c0cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176105
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 22b12ceefd24..27d42fca3d09 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -4411,16 +4411,16 @@ OString SdXImpressDocument::getPresentationInfo() const aJsonWriter.put("nextSlideDuration", fSlideDuration * 1000); } } + } - sd::PresentationSettings const& rSettings = mpDoc->getPresentationSettings(); + sd::PresentationSettings const& rSettings = mpDoc->getPresentationSettings(); - const bool bIsEndless = rSettings.mbEndless; - aJsonWriter.put("isEndless", bIsEndless); + const bool bIsEndless = rSettings.mbEndless; + aJsonWriter.put("isEndless", bIsEndless); - if (bIsEndless) { - const sal_Int32 nPauseTimeout = rSettings.mnPauseTimeout; - aJsonWriter.put("loopAndRepeatDuration", nPauseTimeout); - } + if (bIsEndless) { + const sal_Int32 nPauseTimeout = rSettings.mnPauseTimeout; + aJsonWriter.put("loopAndRepeatDuration", nPauseTimeout); } AnimationsExporter aAnimationExporter(aJsonWriter, pSlide); |