[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - officecfg/registry sd/source

Michael Meeks michael.meeks at collabora.com
Tue Oct 7 02:33:03 PDT 2014


 officecfg/registry/schema/org/openoffice/Office/Impress.xcs |    2 +-
 sd/source/ui/remotecontrol/Server.cxx                       |    6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

New commits:
commit 99023fe9bd7d8b665faed7fe9cb98b3fb8922292
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Oct 7 10:10:27 2014 +0100

    Disable sdremote by default, and improve flow control.
    
    It was intended to disable sdremote by default when it exited
    experimental mode.
    
    This reverts commit 576943b9bf7506829de97d2194c4bee35a485436.
    
    Change-Id: I2c1b5443e334021bd9574316167f48b1af6200e5
    Reviewed-on: https://gerrit.libreoffice.org/11837
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/officecfg/registry/schema/org/openoffice/Office/Impress.xcs b/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
index b740aca..01836d6 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
@@ -629,7 +629,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 --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx
index 51796cc..fb24e67 100644
--- a/sd/source/ui/remotecontrol/Server.cxx
+++ b/sd/source/ui/remotecontrol/Server.cxx
@@ -115,7 +115,11 @@ void RemoteServer::execute()
         {
             OString aName( aLine );
 
-            if ( ! pSocket->readLine( aLine ) ) delete pSocket;
+            if ( ! pSocket->readLine( aLine ) )
+            {
+                delete pSocket;
+                continue;
+            }
             OString aPin( aLine );
 
             SocketAddr aClientAddr;


More information about the Libreoffice-commits mailing list