diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-23 17:59:41 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-11-24 15:01:44 +0100 |
commit | c50fdef7cf89e8c59db5a8539bbe51c3430d9271 (patch) | |
tree | dc2897a7ea2f27ad335cb07ad11b7d950b4fa089 /sd/source/ui/remotecontrol/Communicator.cxx | |
parent | cbc5fc321fefd2ce864276fab5e66eb2465e3e94 (diff) |
cleanup - no need for salhelper::Thread mostly
Change-Id: I27461e094141efd364a2c21da75151da490da2f3
Diffstat (limited to 'sd/source/ui/remotecontrol/Communicator.cxx')
-rw-r--r-- | sd/source/ui/remotecontrol/Communicator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/remotecontrol/Communicator.cxx b/sd/source/ui/remotecontrol/Communicator.cxx index 0d1beb62d1f3..f567b106ff8d 100644 --- a/sd/source/ui/remotecontrol/Communicator.cxx +++ b/sd/source/ui/remotecontrol/Communicator.cxx @@ -12,7 +12,6 @@ #include <comphelper/processfactory.hxx> #include "Communicator.hxx" -#include "ImagePreparer.hxx" #include "Listener.hxx" #include "Receiver.hxx" #include "RemoteServer.hxx" @@ -38,7 +37,7 @@ Communicator::~Communicator() void Communicator::execute() { pTransmitter = new Transmitter( mpSocket ); - pTransmitter->launch(); + pTransmitter->create(); pTransmitter->addMessage( "LO_SERVER_SERVER_PAIRED\n\n", Transmitter::PRIORITY_HIGH ); @@ -99,8 +98,9 @@ void Communicator::execute() void Communicator::informListenerDestroyed() { - pTransmitter->addMessage( "slideshow_finished\n\n", - Transmitter::PRIORITY_HIGH ); + if ( pTransmitter ) + pTransmitter->addMessage( "slideshow_finished\n\n", + Transmitter::PRIORITY_HIGH ); mListener.clear(); } |