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

Michael Meeks michael.meeks at collabora.com
Tue Oct 7 02:36:15 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 3d0cffab8d06a0f8af6c0ed7a95728203080a7c5
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/11838
    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 5fe21cdf..e0800d5 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Impress.xcs
@@ -619,7 +619,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 25045b2..3a7a158 100644
--- a/sd/source/ui/remotecontrol/Server.cxx
+++ b/sd/source/ui/remotecontrol/Server.cxx
@@ -116,7 +116,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