loolwsd/MasterProcessSession.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit d51972c28d400870794e203f2170dd483f5cdc8b Author: Jan Holesovsky <ke...@collabora.com> Date: Tue Jan 12 14:51:32 2016 +0100 loolwsd: Don't cache empty partpagerectangles. This is implemented only for Writer, so they are empty for Calc and Impress; and yet they can confuse loleaflet terribly... diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp index 2440e71..e427328 100644 --- a/loolwsd/MasterProcessSession.cpp +++ b/loolwsd/MasterProcessSession.cpp @@ -177,7 +177,8 @@ bool MasterProcessSession::_handleInput(const char *buffer, int length) } else if (tokens[0] == "partpagerectangles:") { - peer->_tileCache->saveTextFile(std::string(buffer, length), "partpagerectangles.txt"); + if (tokens.count() > 1 && !tokens[1].empty()) + peer->_tileCache->saveTextFile(std::string(buffer, length), "partpagerectangles.txt"); } else if (tokens[0] == "invalidatecursor:") { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits