File libreoffice-sdremote-bnc900214.patch of Package libreoffice.openSUSE_13.1_Update
diff -urN libreoffice-4.1.6.2.old/officecfg/registry/schema/org/openoffice/Office/Impress.xcs libreoffice-4.1.6.2/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
--- libreoffice-4.1.6.2.old/officecfg/registry/schema/org/openoffice/Office/Impress.xcs 2014-11-19 09:24:08.734723619 +0100
+++ libreoffice-4.1.6.2/officecfg/registry/schema/org/openoffice/Office/Impress.xcs 2014-11-19 09:25:31.378799425 +0100
@@ -602,7 +602,7 @@
<desc>Indicates whether to enable the Impress remote controller.</desc>
<label>Enable remote control</label>
</info>
- <value>true</value>
+ <value>false</value>
</prop>
<prop oor:name="EnablePresenterScreen" oor:type="xs:boolean" oor:nillable="false">
<info>
diff -urN libreoffice-4.1.6.2.old/sd/source/ui/remotecontrol/Server.cxx libreoffice-4.1.6.2/sd/source/ui/remotecontrol/Server.cxx
--- libreoffice-4.1.6.2.old/sd/source/ui/remotecontrol/Server.cxx 2014-11-19 09:24:10.290725047 +0100
+++ libreoffice-4.1.6.2/sd/source/ui/remotecontrol/Server.cxx 2014-11-19 09:24:30.426743527 +0100
@@ -115,7 +115,11 @@
{
OString aName( aLine );
- if ( ! pSocket->readLine( aLine ) ) delete pSocket;
+ if ( ! pSocket->readLine( aLine ) )
+ {
+ delete pSocket;
+ continue;
+ }
OString aPin( aLine );
SocketAddr aClientAddr;