sd/source/ui/slideshow/slideshowimpl.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit d82bda2309157fa38f5a1960fe0e8e5f289d3912 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Apr 25 12:34:53 2022 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Thu Apr 28 09:03:37 2022 +0200 tdf#148654 stop playing sound with presentation ends Change-Id: I74aa4cd966b6966f7826d241fcf9bb9d64955464 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133394 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> (cherry picked from commit 83bda568df0c6a65337922e20b6c7b74e20db415) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133406 Reviewed-by: Michael Stahl <michael.st...@allotropia.de> (cherry picked from commit d293877ff029ae7c161ccfbade992485fd92fe75) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133412 Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> Tested-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index b0b8163ff57d..da55f7e7ec81 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1351,6 +1351,8 @@ IMPL_LINK_NOARG(SlideshowImpl, endPresentationHdl, void*, void) { mnEndShowEvent = nullptr; + stopSound(); + if( mxPresentation.is() ) mxPresentation->end(); }