sd/source/ui/slideshow/slideshowimpl.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 83bda568df0c6a65337922e20b6c7b74e20db415 Author: Caolán McNamara <[email protected]> AuthorDate: Mon Apr 25 12:34:53 2022 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Tue Apr 26 09:26:44 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]> diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 0c775d275913..ecb9663ed8ba 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1350,6 +1350,8 @@ IMPL_LINK_NOARG(SlideshowImpl, endPresentationHdl, void*, void) { mnEndShowEvent = nullptr; + stopSound(); + if( mxPresentation.is() ) mxPresentation->end(); }
