kit/ChildSession.cpp | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-)
New commits: commit 94a3d0ddd81c76f529a3ad3acdfce022f0c51702 Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Sat Sep 14 14:11:23 2019 +0200 Commit: Tamás Zolnai <tamas.zol...@collabora.com> CommitDate: Fri Sep 27 14:41:20 2019 +0200 Remove invalidations triggered by LOK_CALLBACK_DOCUMENT_SIZE_CHANGED (cherry picked from commit 53cd0a50a6e565c08295acb54f16ec08af7c31af) Change-Id: I337471cdfdaa1f9b49f13bcb05340427f116cac0 Reviewed-on: https://gerrit.libreoffice.org/79716 Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> Tested-by: Tamás Zolnai <tamas.zol...@collabora.com> diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp index c4ec709c9..4a2d0e642 100644 --- a/kit/ChildSession.cpp +++ b/kit/ChildSession.cpp @@ -2042,25 +2042,7 @@ void ChildSession::loKitCallback(const int type, const std::string& payload) sendTextFrame("searchresultselection: " + payload); break; case LOK_CALLBACK_DOCUMENT_SIZE_CHANGED: - { - //TODO: clenaup and merge. - - std::unique_lock<std::mutex> lock(_docManager.getDocumentMutex()); - const int parts = getLOKitDocument()->getParts(); - for (int i = 0; i < parts; ++i) - { - sendTextFrame("invalidatetiles:" - " part=" + std::to_string(i) + - " x=0" + - " y=0" + - " width=" + std::to_string(INT_MAX) + - " height=" + std::to_string(INT_MAX)); - } - - lock.unlock(); - - getStatus("", 0); - } + getStatus("", 0); break; case LOK_CALLBACK_SET_PART: sendTextFrame("setpart: " + payload); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits