[Libreoffice-commits] online.git: loolwsd/LOOLKit.cpp

Pranav Kant pranavk at collabora.com
Sun Feb 21 08:39:00 UTC 2016


 loolwsd/LOOLKit.cpp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit f72915680636810db4a1de72aef47a5104357080
Author: Pranav Kant <pranavk at collabora.com>
Date:   Sun Feb 21 12:17:01 2016 +0530

    loolwsd: Fix misplaced break statement
    
    Probably due to merge conflicts, it ended up in a wrong place.
    
    Change-Id: Ia32e18149d99e901ceaa47a4e984f9ca818d0619

diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index c8355a6..95a80d4 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -560,12 +560,12 @@ private:
                         self->setDocumentPassword(nType);
                         break;
                     }
-                }
 
-                // Ideally, there would be only one *live* connection at this point of time
-                // So, just get the first running one and break out.
-                // TODO: Find a better way to find the correct connection.
-                break;
+                    // Ideally, there would be only one *live* connection at this point of time
+                    // So, just get the first running one and break out.
+                    // TODO: Find a better way to find the correct connection.
+                    break;
+                }
             }
         }
     }


More information about the Libreoffice-commits mailing list