sd/source/ui/remotecontrol/Communicator.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 6bc0576f8150ab1cc513c2b37347da43128dcb1c Author: dldld <libreofficecontribut...@dldld.de> AuthorDate: Mon Oct 31 20:26:46 2022 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Nov 7 05:30:53 2022 +0100 tdf#151608: Follow up comments added comment about when the informListenerDestroyed method is called. Which was requested to be done in the following change review: https://gerrit.libreoffice.org/c/core/+/141468 Change-Id: I34558a5c673ff0e392b91a620b9effc00a8b1376 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142086 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sd/source/ui/remotecontrol/Communicator.cxx b/sd/source/ui/remotecontrol/Communicator.cxx index 59509ed3c74b..341051a3aa08 100644 --- a/sd/source/ui/remotecontrol/Communicator.cxx +++ b/sd/source/ui/remotecontrol/Communicator.cxx @@ -127,6 +127,9 @@ void Communicator::execute() void Communicator::informListenerDestroyed() { + // called only from the Listener::disposing() method + // during disposal of this communicator + if ( pTransmitter ) pTransmitter->addMessage( "slideshow_finished\n\n", Transmitter::PRIORITY_HIGH );