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...
This commit is contained in:
parent
ed7585e4ff
commit
d51972c28d
1 changed files with 2 additions and 1 deletions
|
@ -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:")
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue