diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-04-25 12:34:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-04-25 18:09:50 +0200 |
commit | 9500e2d971150e0555980a7ae73da014ad83c95c (patch) | |
tree | 7a3b7d0a3842f7dcbb3750e70f87eff4a603ed96 /sd | |
parent | cf1a41c45abd28fb8ef5613338fcb9807d244f9d (diff) |
tdf#148654 stop playing sound with presentation ends
Change-Id: I74aa4cd966b6966f7826d241fcf9bb9d64955464
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133379
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-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 416f70ea6e46..d99e5549ebdc 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1347,6 +1347,8 @@ IMPL_LINK_NOARG(SlideshowImpl, endPresentationHdl, void*, void) { mnEndShowEvent = nullptr; + stopSound(); + if( mxPresentation.is() ) mxPresentation->end(); } |