loolwsd: don't move editing tiles to persistent on saveAs

This commit is contained in:
Mihai Varga 2015-07-29 16:58:43 +03:00
parent a6091f9f6b
commit 4ae546d7bd

View file

@ -303,8 +303,7 @@ bool MasterProcessSession::handleInput(const char *buffer, int length)
dispatchChild();
forwardToPeer(buffer, length);
if ((tokens.count() > 1 && tokens[0] == "uno" && tokens[1] == ".uno:Save") ||
tokens[0] == "saveas") {
if ((tokens.count() > 1 && tokens[0] == "uno" && tokens[1] == ".uno:Save")) {
_tileCache->documentSaved();
}
}