summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/Receiver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/remotecontrol/Receiver.cxx')
-rw-r--r--sd/source/ui/remotecontrol/Receiver.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/Receiver.cxx b/sd/source/ui/remotecontrol/Receiver.cxx
index c3e7d8a1f18f..eaa2c6ec763b 100644
--- a/sd/source/ui/remotecontrol/Receiver.cxx
+++ b/sd/source/ui/remotecontrol/Receiver.cxx
@@ -51,7 +51,8 @@ void Receiver::Timeout()
{
std::vector< rtl::OString > aCommands( maExecQueue.front() );
maExecQueue.pop_front();
- executeCommand( aCommands );
+ if( !aCommands.empty() )
+ executeCommand( aCommands );
Start();
}
else