kit/ChildSession.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 64a8e7532124cb17a47bfa204fab5b0113737ac9
Author: Ashod Nakashian <[email protected]>
Date:   Tue Nov 29 23:13:24 2016 -0500

    loolwsd: missing else
    
    Change-Id: I37458f0a8f13764fdd4010dfd38616dd6c15eac0

diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index 755e593..e12f5e3 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -1053,7 +1053,7 @@ void ChildSession::loKitCallback(const int nType, const 
std::string& rPayload)
                               " width=" + std::to_string(width) +
                               " height=" + std::to_string(height));
             }
-            if (tokens.count() == 2 && tokens[0] == "EMPTY")
+            else if (tokens.count() == 2 && tokens[0] == "EMPTY")
             {
                 const std::string part = (_docType != "text" ? 
tokens[1].c_str() : "0"); // Writer renders everything as part 0.
                 sendTextFrame("invalidatetiles: EMPTY, " + part);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to