summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-04-25 12:34:53 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-04-26 21:16:50 +0200
commitd293877ff029ae7c161ccfbade992485fd92fe75 (patch)
tree93ce4ea35ce79964bb88f0c8284d0a7db8342a4c
parenttdf#135978 sw_redlinehide: recreate fly frames anchored to subsequent nodes (diff)
downloadcore-d293877ff029ae7c161ccfbade992485fd92fe75.tar.gz
core-d293877ff029ae7c161ccfbade992485fd92fe75.zip
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.cxx2
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();
}