diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-04-25 12:34:53 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-04-27 13:20:01 +0200 |
commit | e590b2ad63eaf35b3377815c922bce25b15c238c (patch) | |
tree | 08bcc1e1162f6d44d1450d32a486ad7f207b5af7 /sd/source | |
parent | ac13cd2323fcd0fe1d84ed9c2ec749991d284358 (diff) |
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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(); } |