sd/source/ui/slideshow/slideshowimpl.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit d82bda2309157fa38f5a1960fe0e8e5f289d3912 Author: Caolán McNamara <[email protected]> AuthorDate: Mon Apr 25 12:34:53 2022 +0100 Commit: Xisco Fauli <[email protected]> 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 <[email protected]> (cherry picked from commit 83bda568df0c6a65337922e20b6c7b74e20db415) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133406 Reviewed-by: Michael Stahl <[email protected]> (cherry picked from commit d293877ff029ae7c161ccfbade992485fd92fe75) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133412 Reviewed-by: Thorsten Behrens <[email protected]> Reviewed-by: Samuel Mehrbrodt <[email protected]> Tested-by: Xisco Fauli <[email protected]> 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(); }
