diff options
author | dldld <LibreOfficeContribution@dldld.de> | 2022-10-31 20:26:46 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-11-07 05:30:53 +0100 |
commit | 6bc0576f8150ab1cc513c2b37347da43128dcb1c (patch) | |
tree | d08b154749d99ddf8b985bf4773bd75286a259d9 /sd/source | |
parent | c3d2c5056aeaa57ed0254e3ea1faa86ed0cb58c9 (diff) |
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.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/remotecontrol/Communicator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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 ); |