diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-04-25 12:34:53 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-04-26 21:16:50 +0200 |
commit | d293877ff029ae7c161ccfbade992485fd92fe75 (patch) | |
tree | 93ce4ea35ce79964bb88f0c8284d0a7db8342a4c | |
parent | 78f726541be4316a8fe18c50f7d146304f6e0e87 (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>
(cherry picked from commit 83bda568df0c6a65337922e20b6c7b74e20db415)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133406
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
-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 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(); } |