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

Henry Castro hcastro at collabora.com
Thu Aug 27 22:29:05 PDT 2015


 loolwsd/LOOLSession.cpp |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 0c6c2c8da2dfa0acfc2816518982417896818779
Author: Henry Castro <hcastro at collabora.com>
Date:   Fri Aug 28 01:28:14 2015 -0400

    loolwsd: revert update status when switching parts

diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index e2ca290..06efe26 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -663,7 +663,6 @@ bool ChildProcessSession::handleInput(const char *buffer, int length)
         if (_docType != "text" && _loKitDocument->pClass->getPart(_loKitDocument) != _clientPart)
         {
             _loKitDocument->pClass->setPart(_loKitDocument, _clientPart);
-            getStatus("", 0);
         }
         if (tokens[0] == "gettextselection")
         {
@@ -912,7 +911,6 @@ void ChildProcessSession::sendTile(const char *buffer, int length, StringTokeniz
     unsigned char *pixmap = new unsigned char[4 * width * height];
     if (_docType != "text" && part != _loKitDocument->pClass->getPart(_loKitDocument)) {
         _loKitDocument->pClass->setPart(_loKitDocument, part);
-        getStatus("", 0);
     }
     _loKitDocument->pClass->paintTile(_loKitDocument, pixmap, width, height, tilePosX, tilePosY, tileWidth, tileHeight);
 
@@ -1109,7 +1107,6 @@ bool ChildProcessSession::setPage(const char *buffer, int length, StringTokenize
         return false;
     }
     _loKitDocument->pClass->setPart(_loKitDocument, page);
-    getStatus("", 0);
     return true;
 }
 


More information about the Libreoffice-commits mailing list